Skip to content

Commit 364ee8e

Browse files
committed
Adding a new table for datasets related to provenance
1 parent f213067 commit 364ee8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/print_dataset_listing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"PET": "pet",
5858
"qMRI": "",
5959
"Phenotype": "phenotype",
60+
"Provenance": "",
6061
}
6162

6263
DELIMITER = "<!-- ADD EXAMPLE LISTING HERE -->"
@@ -176,6 +177,8 @@ def add_tables(df: pd.DataFrame, output_file: Path, names) -> None:
176177
mask = names.str.contains("qmri_")
177178
elif table_name == "HED":
178179
mask = names.str.contains("_hed_")
180+
elif table_name == "Provenance":
181+
mask = names.str.contains("provenance_")
179182
else:
180183
mask = df["datatypes"].str.contains(table_datatypes, regex=True)
181184

0 commit comments

Comments
 (0)