Skip to content

Commit

Permalink
remove hack in lieu of strip()
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLaserGit committed Dec 13, 2023
1 parent 3f6cb62 commit bbfd004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forcingprocessor/src/forcingprocessor/forcingprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def prep_ngen_data(conf):
nwm_forcing_files = []
with open(nwm_file,'r') as fp:
for jline in fp.readlines():
nwm_forcing_files.append(jline[:-1])
nwm_forcing_files.append(jline.strip())

nfiles = len(nwm_forcing_files)

Expand Down

0 comments on commit bbfd004

Please sign in to comment.