Skip to content

Commit

Permalink
Don't annotate titer node data unless using titer models
Browse files Browse the repository at this point in the history
  • Loading branch information
huddlej committed Sep 11, 2024
1 parent 7bceaa9 commit de6a7ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiles/nextflu-private/antigenic_distances.smk
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def get_private_node_data(wildcards):
]

# Only try to annotate titer collections for HA.
if wildcards.segment == "ha":
if wildcards.segment == "ha" and config["builds"][wildcards.build_name].get("enable_titer_models", False):
for collection in config["builds"][wildcards.build_name]["titer_collections"]:
node_data.append(f"builds/{wildcards.build_name}/{wildcards.segment}/titers_for_reference_viruses/{collection['name']}.json")
node_data.append(f"builds/{wildcards.build_name}/{wildcards.segment}/haplotypes_without_references/{collection['name']}.json")
Expand Down

0 comments on commit de6a7ef

Please sign in to comment.