Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Jul 9, 2024
1 parent f2c0f91 commit 34079a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions genie/dashboard_table_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 7 additions & 3 deletions genie/input_to_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]]
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 34079a1

Please sign in to comment.