Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alyssa Dai <alyssa.ydai@gmail.com>
  • Loading branch information
surchs and alyssadai authored Sep 26, 2023
1 parent b94e0af commit 480f323
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bagel/pheno_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def load_pheno(input_p: Path) -> pd.DataFrame | None:
# We only extracted one column, this might mean that we have a sneaky .csv
raise ValueError(
f"Your phenotypic input file {input_p} has only one column "
f"and is therefore not valid as a neurobagel phenotypic file. "
f"Note that your phenotypic input file also looks like a .csv file "
f"as it contains several ',' commas. It is possible that "
f"you have accidentally renamed a .csv file as a .tsv"
f"and is therefore not valid as a Neurobagel phenotypic file. "
"Note that your phenotypic input file also looks like a .csv file "
"as it contains several ',' commas. It is possible that "
"you have accidentally renamed a .csv file as a .tsv."
" Please provide a valid .tsv pheno file!"
)
else:
Expand Down

0 comments on commit 480f323

Please sign in to comment.