Skip to content

Commit

Permalink
Fix incorrect field name in AnVIL metadata mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
nadove-ucsc authored and dsotirho-ucsc committed Nov 30, 2022
1 parent 4c2ff67 commit 6847085
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/azul/plugins/metadata/anvil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _field_mapping(self) -> MetadataPlugin._FieldMapping:
'activity_type',
'assay_category',
'data_modality',
'date_submitted',
'date_created',
'document_id',
'source_datarepo_row_ids',
]
Expand Down
2 changes: 1 addition & 1 deletion src/azul/plugins/metadata/anvil/indexer/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _activity_types(cls) -> FieldTypes:
'activity_type': null_str,
'assay_category': null_str,
'data_modality': null_str,
'date_submitted': null_datetime,
'date_created': null_datetime,
}

@classmethod
Expand Down
34 changes: 17 additions & 17 deletions test/indexer/data/3fdc952d-7eec-a8d9-be70-876aa4377a53.results.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6847085

Please sign in to comment.