File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -741,9 +741,9 @@ def read_nsrdb_psm4(filename, map_variables=True):
741
741
with context as fbuf :
742
742
# The first 2 lines of the response are headers with metadata
743
743
metadata_fields = fbuf .readline ().split (',' )
744
- metadata_fields [- 1 ] = metadata_fields [- 1 ].strip () # strip trailing newline
744
+ metadata_fields [- 1 ] = metadata_fields [- 1 ].strip () # trailing newline
745
745
metadata_values = fbuf .readline ().split (',' )
746
- metadata_values [- 1 ] = metadata_values [- 1 ].strip () # strip trailing newline
746
+ metadata_values [- 1 ] = metadata_values [- 1 ].strip () # trailing newline
747
747
metadata = dict (zip (metadata_fields , metadata_values ))
748
748
# the response is all strings, so set some metadata types to numbers
749
749
metadata ['Local Time Zone' ] = int (metadata ['Local Time Zone' ])
You can’t perform that action at this time.
0 commit comments