Skip to content

Commit

Permalink
fix jsons not being committed
Browse files Browse the repository at this point in the history
  • Loading branch information
dorbarker committed Sep 28, 2018
1 parent d46c3d7 commit adfc226
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def update_genome(genome_data: Dict[str, GeneData], genes_dir: Path):

update_known_alleles(name, seq, gene_path)

return genome_data


def update_directory(results_dir: Path, genes_dir: Path):
"""
Expand All @@ -86,6 +88,10 @@ def update_directory(results_dir: Path, genes_dir: Path):

update_genome(genome_data, genes_dir)

with genome.open('w') as o:

json.dump(genome_data, o, indent=4)


def get_known_alleles(alleles_fasta: Path) -> Dict[str, str]:

Expand Down

0 comments on commit adfc226

Please sign in to comment.