Skip to content

Commit 565d8f5

Browse files
Apply suggestions from code review
Co-authored-by: Remi Gau <remi_gau@hotmail.com>
1 parent 07f8060 commit 565d8f5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tools/list_raw.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,11 @@
3535

3636
mk_file = Path(__file__).parent.parent / 'src/datasets_raw.md'
3737

38-
pd.read_csv(output_file, sep = "\t").to_markdown(mk_file, index=False, mode="a")
38+
datasets_df.drop(columns=[
39+
"has_participant_tsv",
40+
"has_participant_json",
41+
"has_phenotype_dir",
42+
"participant_columns"],
43+
inplace=True
44+
)
45+
datasets_df.to_markdown(mk_file, index=False, mode="a")

0 commit comments

Comments
 (0)