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):
741741 with context as fbuf :
742742 # The first 2 lines of the response are headers with metadata
743743 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
745745 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
747747 metadata = dict (zip (metadata_fields , metadata_values ))
748748 # the response is all strings, so set some metadata types to numbers
749749 metadata ['Local Time Zone' ] = int (metadata ['Local Time Zone' ])
You can’t perform that action at this time.
0 commit comments