Skip to content

Commit

Permalink
Use file_name column for downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
nadove-ucsc committed Dec 1, 2022
1 parent 9a2533d commit 28d6ea2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/azul/plugins/metadata/anvil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,17 @@ def _field_mapping(self) -> MetadataPlugin._FieldMapping:
'file_format',
'file_md5sum',
'reference_assembly',
'file_name',
# Not in schema
'crc32',
'sha256',
'drs_path',
'name'
]
},
# These field names are hard-coded in the implementation of
# the repository service/controller.
**{
'file_size': 'size',
'file_name': 'name',
# Not in schema
'version': 'fileVersion',
'uuid': 'fileId',
Expand Down

0 comments on commit 28d6ea2

Please sign in to comment.