Skip to content

Commit 6d19646

Browse files
committed
Fix binary/fractional distinction
1 parent 32c5186 commit 6d19646

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/idc_annotation_conversion/tcga_til_maps/__main__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,11 +789,16 @@ def convert_2022(
789789
if not 'prediction' in b.name or b.name.endswith('low_res'):
790790
continue
791791

792+
# The meso collection has multiple versions available so choose the
793+
# incep4 only
794+
if "meso" in b.name and "incep4" not in b.name:
795+
continue
796+
792797
if blob_filter is not None:
793798
if blob_filter not in b.name:
794799
continue
795800

796-
dir_name = b.name.split('/')[-2]
801+
dir_name = b.name.split('/')[-3]
797802
is_binary = 'binary' in dir_name
798803

799804
container_id = b.name.split('/')[-1].replace('prediction-', '').split('.')[0]

0 commit comments

Comments
 (0)