Skip to content

Commit

Permalink
Fix: IT fails in anvilprod due to multiple values for is_supplementary (
Browse files Browse the repository at this point in the history
  • Loading branch information
nadove-ucsc committed May 24, 2023
1 parent b954f7d commit d51d7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ def _get_indexed_bundles(self,
for file in hit['files']:
is_supplementary = file['is_supplementary']
if isinstance(is_supplementary, list):
is_supplementary = one(is_supplementary)
is_supplementary = all(is_supplementary)
if is_supplementary:
bundle_fqid['entity_type'] = BundleEntityType.supplementary.value
break
Expand Down

0 comments on commit d51d7c9

Please sign in to comment.