Skip to content

Commit

Permalink
check for fasta asset class, not name
Browse files Browse the repository at this point in the history
  • Loading branch information
stolarczyk committed Sep 3, 2021
1 parent 5cfb8ce commit 0672d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refgenie/refgenie.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def _build_asset(
_LOGGER.info(f"Asset digest: {digest}")
# add updates to config file
with rgc_map as r:
if asset == "fasta":
if recipe.output_class.name == "fasta":
r.update_genomes(
genome, data={CFG_ALIASES_KEY: [alias]}, force_digest=genome
)
Expand Down

0 comments on commit 0672d75

Please sign in to comment.