Skip to content

Commit

Permalink
Style fixx
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Oct 4, 2024
1 parent 87804e3 commit 6ce6f8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions ensembleperturbation/perturbation/atcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,6 @@ class IsotachRadiusQuadrant(Enum):

# IsotachRadius adjuster dependent on the changes to Rmax, Vmax and track
class IsotachRadius:

def __init__(self, rad_quad_info: IsotachRadiusQuadrant):
self.quadrant_angle = rad_quad_info.value.angle
self.column = rad_quad_info.value.column
Expand Down Expand Up @@ -1250,7 +1249,6 @@ class PerturberFeatures(Flag):
ISOTACH_ADJUSTMENT = auto()



class VortexPerturber:
"""
``VortexPerturber`` takes an ATCF track from an input storm and perturbs it based on several variables (of the class ``VortexPerturbedVariable``)
Expand Down
8 changes: 5 additions & 3 deletions tests/test_advisory_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_no_isotach_adj_feature():
CrossTrack,
AlongTrack,
MaximumSustainedWindSpeed,
RadiusOfMaximumWindsPersistent, # No feature is used for persistent error
RadiusOfMaximumWindsPersistent, # No feature is used for persistent error
]

perturbations = perturb_tracks(
Expand All @@ -108,7 +108,9 @@ def test_no_isotach_adj_feature():

def test_no_feature_equals_none():
output_directory_1 = DATA_DIRECTORY / 'output' / 'test_no_feature_equals_none' / 'none'
output_directory_2 = DATA_DIRECTORY / 'output' / 'test_no_feature_equals_none' / 'no_feature'
output_directory_2 = (
DATA_DIRECTORY / 'output' / 'test_no_feature_equals_none' / 'no_feature'
)

if not output_directory_1.exists():
output_directory_1.mkdir(parents=True, exist_ok=True)
Expand All @@ -119,7 +121,7 @@ def test_no_feature_equals_none():
CrossTrack,
AlongTrack,
MaximumSustainedWindSpeed,
RadiusOfMaximumWindsPersistent, # No feature is used for persistent error
RadiusOfMaximumWindsPersistent, # No feature is used for persistent error
]

perturbations = perturb_tracks(
Expand Down

0 comments on commit 6ce6f8e

Please sign in to comment.