Skip to content

Commit

Permalink
UniProt: Correct wrong assignment of canonical sequence path
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Jan 12, 2018
1 parent 655799d commit 3e43c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions website/imports/sites/site_importer.py
Expand Up @@ -147,6 +147,7 @@ def extract_site_surrounding_sequence(self, site) -> str:
protein_sequence = self.get_sequence_of_protein(site)

if not protein_sequence:
self.issues_counter['no sequence'] += 1
return nan

offset = self.sequence_offset
Expand Down
2 changes: 1 addition & 1 deletion website/imports/sites/uniprot/importer.py
Expand Up @@ -55,7 +55,7 @@ def __init__(
sprot_splice_variants_path=None,
):
self.sequences = self.load_sequences(
sprot_canonical_path or self.default_path_splice,
sprot_canonical_path or self.default_path_canonical,
sprot_splice_variants_path or self.default_path_splice
)

Expand Down

0 comments on commit 3e43c3d

Please sign in to comment.