Skip to content

Commit

Permalink
convert the clinical template columns from a set to a list
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Mar 14, 2024
1 parent d190e61 commit 9a06b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genie_registry/clinical.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def preprocess(self, newpath):
"sample is True and inClinicalDb is True"
)
sample_cols = sample_cols_table.asDataFrame()["fieldName"].tolist()
clinicalTemplate = pd.DataFrame(columns=set(patient_cols + sample_cols))
clinicalTemplate = pd.DataFrame(columns=list(set(patient_cols + sample_cols)))
sample = True
patient = True

Expand Down

0 comments on commit 9a06b74

Please sign in to comment.