Skip to content

Commit

Permalink
Rename confusing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Jul 7, 2022
1 parent 43cccf4 commit 51fc675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reVX/setbacks/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ def _parse_regulations(self, regulations_fpath):
logger.error(msg)
raise RuntimeError(msg)

for non_nan_col in ["Feature Type", "Value Type", "Value", "FIPS"]:
regulations = regulations[~regulations[non_nan_col].isna()]
for col in ["Feature Type", "Value Type", "Value", "FIPS"]:
regulations = regulations[~regulations[col].isna()]

feature_types = regulations['Feature Type'].str.strip().str.lower()
regulations['Feature Type'] = feature_types
Expand Down

0 comments on commit 51fc675

Please sign in to comment.