Skip to content

Commit ced5dcc

Browse files
committed
reformat consortium_to_public
1 parent 30a486a commit ced5dcc

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

genie/consortium_to_public.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@
55

66
import pandas as pd
77
import synapseutils
8-
from genie import (create_case_lists, database_to_staging, extract, load,
9-
process_functions)
8+
from genie import (
9+
create_case_lists,
10+
database_to_staging,
11+
extract,
12+
load,
13+
process_functions,
14+
)
1015

1116
logger = logging.getLogger(__name__)
1217

@@ -148,7 +153,9 @@ def consortiumToPublic(
148153
allClin = clinicalDf[clinicalDf["SAMPLE_ID"].isin(publicReleaseSamples)]
149154
# check if cfDNA samples are present
150155
if not process_functions.check_values_in_column(allClin, "SAMPLE_CLASS", "cfDNA"):
151-
logger.error("cfDNA samples should not be filtered out in the clinical dataframe.")
156+
logger.error(
157+
"cfDNA samples should not be filtered out in the clinical dataframe."
158+
)
152159

153160
allClin.to_csv(clinical_path, sep="\t", index=False)
154161

0 commit comments

Comments
 (0)