From 480f323c24f1e6de6b7c11bf94397a87141d6566 Mon Sep 17 00:00:00 2001 From: Sebastian Urchs Date: Tue, 26 Sep 2023 13:39:48 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alyssa Dai --- bagel/pheno_utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bagel/pheno_utils.py b/bagel/pheno_utils.py index afcd2e0..978423b 100644 --- a/bagel/pheno_utils.py +++ b/bagel/pheno_utils.py @@ -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: