Skip to content

Commit

Permalink
require any hyphenation to be included in the prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halgren committed Sep 4, 2024
1 parent 9d9d711 commit e70b09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/troute-nwm/src/nwm_routing/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _parquet_output_format_converter(df, start_datetime, dt, configuration, pref
# Prepare the location_id with prefix
df.index.name = 'location_id'
df.reset_index(inplace=True)
location_ids = prefix_ids + '-' + df['location_id'].astype(str)
location_ids = prefix_ids + df['location_id'].astype(str)

# Flatten the dataframe using NumPy
num_locations = df.shape[0]
Expand Down

0 comments on commit e70b09e

Please sign in to comment.