Skip to content

Commit 877eb16

Browse files
committed
ruff
1 parent 94e7022 commit 877eb16

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

v03_pipeline/lib/misc/clickhouse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def src_path_fn(self) -> Callable:
5555
ClickHouseTable.ENTRIES: new_entries_parquet_path,
5656
}[self]
5757

58-
def should_load(
58+
def should_load( # noqa: PLR0911
5959
self,
6060
reference_genome: ReferenceGenome,
6161
dataset_type: DatasetType,

v03_pipeline/lib/tasks/exports/write_new_variants_parquet.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from v03_pipeline.lib.tasks.exports.fields import get_variants_export_fields
1616
from v03_pipeline.lib.tasks.exports.misc import (
1717
camelcase_array_structexpression_fields,
18+
subset_sorted_transcript_consequences_fields,
1819
unmap_formatting_annotation_enums,
1920
unmap_reference_dataset_annotation_enums,
2021
)
@@ -26,9 +27,6 @@
2627
UpdateVariantAnnotationsTableWithNewSamplesTask,
2728
)
2829
from v03_pipeline.lib.tasks.write_new_variants_table import WriteNewVariantsTableTask
29-
from v03_pipeline.lib.tasks.exports.misc import (
30-
subset_sorted_transcript_consequences_fields,
31-
)
3230

3331

3432
@luigi.util.inherits(BaseLoadingRunParams)

v03_pipeline/lib/tasks/exports/write_new_variants_parquet_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ def test_mito_write_new_variants_parquet_test(
363363
export_json[0]['sortedTranscriptConsequences'] = [
364364
export_json[0]['sortedTranscriptConsequences'][0],
365365
]
366-
print(export_json[0]['sortedTranscriptConsequences'])
367366
self.assertEqual(
368367
export_json,
369368
[
@@ -418,7 +417,7 @@ def test_mito_write_new_variants_parquet_test(
418417
'biotype': 'Mt_tRNA',
419418
'consequenceTerms': ['non_coding_transcript_exon_variant'],
420419
'lofFilters': None,
421-
}
420+
},
422421
],
423422
},
424423
],

0 commit comments

Comments
 (0)