Skip to content

Commit 462ceb6

Browse files
EliEli
authored andcommitted
Eliminated bad overwrite of "default"
1 parent 9bbfb77 commit 462ceb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dms_datastore/process_station_variable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def process_station_list(stationlist,id_col="id",agency_id_col="agency_id",
7777
station_df.rename(columns={param_col:"param"})
7878

7979
if not "subloc" in station_df.columns:
80-
station_df["subloc"]="default"
80+
station_df["subloc"]=subloc
8181
else:
8282
station_df["subloc"] = station_df.subloc.astype(str)
8383

0 commit comments

Comments
 (0)