Skip to content

Commit

Permalink
Only build antigenic plots for titers builds
Browse files Browse the repository at this point in the history
  • Loading branch information
huddlej committed Dec 14, 2023
1 parent d038d68 commit 9c804b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions profiles/nextflu-private/antigenic_distances.smk
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ ruleorder: export_private > export
def get_antigenic_plot_paths(wildcards):
paths = []
for build_name in config["builds"].keys():
for collection in config["builds"][build_name]["titer_collections"]:
if "ferret" in collection["data"]:
paths.append(f"builds/{build_name}/ha/plots/antigenic_distances_between_strains_{build_name}_{collection['name']}.png")
if "titers" in build_name:
for collection in config["builds"][build_name]["titer_collections"]:
if "ferret" in collection["data"]:
paths.append(f"builds/{build_name}/ha/plots/antigenic_distances_between_strains_{build_name}_{collection['name']}.png")

return paths

Expand Down

0 comments on commit 9c804b6

Please sign in to comment.