Skip to content

Commit e95203c

Browse files
committed
DEVSU-2797 - lint isort - unsorted imports
1 parent b209e23 commit e95203c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

pori_python/ipr/inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
from .constants import (
2727
COSMIC_SIGNATURE_VARIANT_TYPE,
2828
HLA_SIGNATURE_VARIANT_TYPE,
29-
MSI_MAPPING,
3029
HRD_MAPPING,
30+
MSI_MAPPING,
3131
TMB_SIGNATURE,
3232
TMB_SIGNATURE_VARIANT_TYPE,
3333
)

pori_python/ipr/ipr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def convert_statements_to_alterations(
168168
diseases = [c for c in statement["conditions"] if c["@class"] == "Disease"]
169169
disease_match = len(diseases) == 1 and diseases[0]["@rid"] in disease_matches
170170
reference = ";".join([e["displayName"] for e in statement["evidence"]])
171-
if statement['relevance']['name'] == 'eligibility':
171+
if statement["relevance"]["name"] == "eligibility":
172172
reference = ";".join([e["sourceId"] for e in statement["evidence"]])
173173

174174
ipr_section = gkb_statement.categorize_relevance(

tests/test_graphkb/test_genes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from pori_python.graphkb import GraphKBConnection
99
from pori_python.graphkb.genes import (
10+
PREFERRED_GENE_SOURCE_NAME,
1011
get_cancer_genes,
1112
get_cancer_predisposition_info,
1213
get_gene_information,
@@ -18,7 +19,6 @@
1819
get_pharmacogenomic_info,
1920
get_preferred_gene_name,
2021
get_therapeutic_associated_genes,
21-
PREFERRED_GENE_SOURCE_NAME,
2222
)
2323
from pori_python.graphkb.util import get_rid
2424

tests/test_ipr/test_inputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
from pori_python.graphkb.match import INPUT_COPY_CATEGORIES
99
from pori_python.ipr.constants import (
10-
MSI_MAPPING,
1110
HRD_MAPPING,
11+
MSI_MAPPING,
1212
TMB_SIGNATURE,
1313
TMB_SIGNATURE_HIGH_THRESHOLD,
1414
)
@@ -21,8 +21,8 @@
2121
preprocess_cosmic,
2222
preprocess_expression_variants,
2323
preprocess_hla,
24-
preprocess_msi,
2524
preprocess_hrd,
25+
preprocess_msi,
2626
preprocess_signature_variants,
2727
preprocess_small_mutations,
2828
preprocess_structural_variants,

0 commit comments

Comments
 (0)