Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlere committed Feb 12, 2025
1 parent f0c66c4 commit 5eaa601
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 4 additions & 2 deletions runner/operator/access/v2_1_0/cnv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ def get_sample_inputs(self):
for run in runs:
bams.append(find_request_bams(run))

# TUMOR Unfiltered
unfiltered_tumor_bams = [b["fgbio_collapsed_bam"] for b in bams if is_tumor_bam(b["fgbio_collapsed_bam"].file_name)]
# TUMOR Unfiltered
unfiltered_tumor_bams = [
b["fgbio_collapsed_bam"] for b in bams if is_tumor_bam(b["fgbio_collapsed_bam"].file_name)
]

sample_ids = []
tumor_bams = []
Expand Down
10 changes: 8 additions & 2 deletions runner/operator/access/v2_1_0/msi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@
from runner.operator.operator import Operator
from runner.run.objects.run_creator_object import RunCreator
from runner.models import Port, RunStatus
from runner.operator.access import get_request_id, get_request_id_runs, create_cwl_file_object, find_request_bams, is_tumor_bam
from runner.operator.access import (
get_request_id,
get_request_id_runs,
create_cwl_file_object,
find_request_bams,
is_tumor_bam,
)


logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -56,7 +62,7 @@ def get_sample_inputs(self):
for run in runs:
bams.append(find_request_bams(run))

# TUMOR Uncollapsed
# TUMOR Uncollapsed
standard_tumor_bams = [b["uncollapsed_bam"] for b in bams if is_tumor_bam(b["fgbio_collapsed_bam"].file_name)]

# Dictionary that associates tumor bam with standard bam with tumor_sample_id
Expand Down

0 comments on commit 5eaa601

Please sign in to comment.