From 34079a1cf2078f8a821aae11061d1530dede148c Mon Sep 17 00:00:00 2001 From: Thomas Yu Date: Mon, 8 Jul 2024 22:55:16 -0700 Subject: [PATCH] Format code --- genie/dashboard_table_updater.py | 6 +++--- genie/input_to_database.py | 10 +++++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/genie/dashboard_table_updater.py b/genie/dashboard_table_updater.py index 33a44d5f..99dfb3ca 100644 --- a/genie/dashboard_table_updater.py +++ b/genie/dashboard_table_updater.py @@ -460,9 +460,9 @@ def update_sample_difference_table(syn, database_mappingdf): .applymap(int) ) - diff_between_releasesdf[["Clinical", "Mutation", "CNV", "SEG", "Fusions"]] = ( - new_values - ) + diff_between_releasesdf[ + ["Clinical", "Mutation", "CNV", "SEG", "Fusions"] + ] = new_values load._update_table( syn, diff --git a/genie/input_to_database.py b/genie/input_to_database.py index 5ab7cd9c..c189ed51 100644 --- a/genie/input_to_database.py +++ b/genie/input_to_database.py @@ -806,8 +806,12 @@ def validation( syn=syn, input_valid_statusdf=validation_statusdf, invalid_errorsdf=error_trackingdf, - validation_status_table=syn.tableQuery(f"select * from syn61672246 where center = '{center}'"), - error_tracker_table=syn.tableQuery(f"select * from syn61672708 where center = '{center}'"), + validation_status_table=syn.tableQuery( + f"select * from syn61672246 where center = '{center}'" + ), + error_tracker_table=syn.tableQuery( + f"select * from syn61672708 where center = '{center}'" + ), ) valid_filesdf = validation_statusdf.query('status == "VALIDATED"') return valid_filesdf[["id", "path", "fileType", "name"]] @@ -890,7 +894,7 @@ def center_input_to_database( synid=center_input_synid, center=center, process=process, - downloadFile=(not only_validate) + downloadFile=(not only_validate), ) # ancillary_files = get_ancillary_files(