Skip to content

Commit

Permalink
Fix casename issue (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrover1 authored Jun 2, 2021
1 parent d399adb commit ff65265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecgtools/parsers/cesm.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def parse_cesm_history(file):
if extracted_stream:
info['component'] = stream.component
info['stream'] = stream.name
z = file.stem.lower().split(extracted_stream)
z = file.stem.split(extracted_stream)
info['case'] = z[0].strip('.')
info['date'] = z[-1].strip('.')
break
Expand Down

0 comments on commit ff65265

Please sign in to comment.