diff --git a/data_portal/models/s3object.py b/data_portal/models/s3object.py index 7a1d64f3..eefa9757 100644 --- a/data_portal/models/s3object.py +++ b/data_portal/models/s3object.py @@ -139,10 +139,11 @@ def get_subject_sash_results(self, subject_id: str, **kwargs) -> QuerySet: return qs def get_subject_cttsov2_results(self, subject_id: str, **kwargs) -> QuerySet: - # get cttsov2 libraries + # We are to show analysis done by cttsov2 pipeline from ICA v2 BYOB bucket + # Get both ctTSO and ctTSOv2 libraries of the Subject subject_meta_list: List[LabMetadata] = LabMetadata.objects.filter( subject_id=subject_id, - assay__iexact=str(LabMetadataAssay.CT_TSO_V2.value).lower() + assay__in=[LabMetadataAssay.CT_TSO_V2.value, LabMetadataAssay.CT_TSO.value], ).all() cttsov2_libraries: List[str] = list()