Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu17 committed Jan 24, 2025
1 parent 458376b commit 106cf82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion genie/database_to_staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def filter_out_germline_variants(
input_data: pd.DataFrame, status_col_str: str
) -> pd.DataFrame:
"""Filters out germline variants given a status col str. Genie pipeline
cannot have any of these variants. NOTE: We have to search for the
cannot have any of these variants. NOTE: We have to search for the
status column because there's no column name validation in the release
steps so the status column may have different casing.
Expand Down
8 changes: 4 additions & 4 deletions tests/test_database_to_staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ def test_store_assay_info_files(syn):
),
(
pd.DataFrame(
dict(SV_Status=["GERMLINE", "SOMATIC"], Sample_ID=["GENIE-1", "GENIE-2"])
dict(
SV_Status=["GERMLINE", "SOMATIC"], Sample_ID=["GENIE-1", "GENIE-2"]
)
),
"SV_STATUS",
pd.DataFrame(
dict(SV_Status=["SOMATIC"], Sample_ID=["GENIE-2"])
),
pd.DataFrame(dict(SV_Status=["SOMATIC"], Sample_ID=["GENIE-2"])),
),
],
ids=["all_germline", "some_germline", "no_germline", "diff_status_col_case"],
Expand Down

0 comments on commit 106cf82

Please sign in to comment.