We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a2acdf commit dc61de6Copy full SHA for dc61de6
snapshot/render_flat.py
@@ -342,7 +342,7 @@ def make_haul_metadata_record(path: str) -> dict:
342
filename = filename_with_path.split('.')[0]
343
components = filename.split('_')
344
return {
345
- 'path': path,
+ 'loc': path,
346
'year': int(components[0]),
347
'survey': components[1],
348
'haul': int(components[2])
@@ -523,7 +523,7 @@ def get_catch_records(haul: int) -> typing.Optional[typing.Iterable[dict]]:
523
)
524
525
output_dict_with_loc: typing.Dict[str, typing.Union[str, int]] = output_dict # type: ignore
526
- output_dict_with_loc['path'] = output_loc
+ output_dict_with_loc['loc'] = output_loc
527
return output_dict_with_loc
528
529
0 commit comments