Skip to content

Commit 54355d2

Browse files
authored
Merge pull request #495 from bclenet/provenance
Table for datasets related to provenance
2 parents f213067 + db4d8b3 commit 54355d2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,13 @@ DO NOT EDIT DIRECTLY.
362362
| name | description | datatypes | suffixes | link to full data | maintained by |
363363
|:--------------------------------------------------------------------------------|:-----------------------------------------------------------------|:----------------|:-----------|:--------------------|:-----------------------------------------|
364364
| [pheno004](https://github.com/bids-standard/bids-examples/tree/master/pheno004) | Minimal dataset with subjects with imaging and/or phenotype data | phenotype, anat | T1w | n/a | [@ericearl](https://github.com/ericearl) |
365+
366+
### Provenance
367+
368+
<!--
369+
TABLE BELOW IS GENERATED AUTOMATICALLY.
370+
DO NOT EDIT DIRECTLY.
371+
-->
372+
373+
| name | description | datatypes | suffixes | link to full data | maintained by |
374+
|--------|---------------|-------------|------------|---------------------|-----------------|

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)