Skip to content

Commit

Permalink
fixup! Fix: IT fails in anvilprod due to multiple values for is_suppl…
Browse files Browse the repository at this point in the history
…ementary (#5229)
  • Loading branch information
nadove-ucsc committed May 26, 2023
1 parent 6fa2327 commit 77f0b87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,12 @@ def _get_indexed_bundles(self,
version=bundle['bundleVersion']
)
if config.is_anvil_enabled(catalog):
# Biosamples are used as bundle entities for primary bundles
# and are never present in supplementary bundles.
# We cannot use the `files.is_supplementary` field to
# determine whether a bundle is supplementary or not due to
# false positives in the current snapshots
# (https://github.com/DataBiosphere/azul/issues/5229)
bundle_fqid['entity_type'] = (
BundleEntityType.primary.value
if hit['biosamples'] else
Expand Down

0 comments on commit 77f0b87

Please sign in to comment.