diff --git a/fsac/__init__.py b/fsac/__init__.py index fc79d63..020ed73 100644 --- a/fsac/__init__.py +++ b/fsac/__init__.py @@ -1 +1 @@ -__version__ = '0.2.1' +__version__ = '0.2.2' diff --git a/fsac/update.py b/fsac/update.py index 12ac3e9..92e8734 100644 --- a/fsac/update.py +++ b/fsac/update.py @@ -128,6 +128,12 @@ def get_known_alleles(alleles_fasta: Path) -> Dict[str, str]: current_sequence.append(current_line) + else: + + sequence = ''.join(current_sequence) + + known_alleles[sequence] = current_header + return known_alleles