Skip to content

Commit c6816af

Browse files
committed
ruff
1 parent bab5b5e commit c6816af

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

v03_pipeline/lib/paths.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ def valid_filters_path(
222222
callset_path: str,
223223
) -> str | None:
224224
if (
225-
not Env.EXPECT_WES_FILTERS or
226-
not dataset_type.expect_filters(sample_type)
225+
not Env.EXPECT_WES_FILTERS
226+
or not dataset_type.expect_filters(sample_type)
227227
or 'part_one_outputs' not in callset_path
228228
):
229229
return None

v03_pipeline/lib/tasks/write_remapped_and_subsetted_callset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def requires(self) -> list[luigi.Task]:
5454
RawFileTask(self.project_pedigree_path),
5555
]
5656
if (
57-
Env.CHECK_SEX_AND_RELATEDNESS and
58-
not self.skip_check_sex_and_relatedness
57+
Env.CHECK_SEX_AND_RELATEDNESS
58+
and not self.skip_check_sex_and_relatedness
5959
and self.dataset_type.check_sex_and_relatedness
6060
):
6161
requirements = [

0 commit comments

Comments
 (0)