Skip to content

Commit

Permalink
uninitialised variable
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Dec 19, 2024
1 parent 116d8ea commit be1676c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion annotation/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def annotation_build_detail(request, genome_build_name):
"annotation_consortium": genome_build.settings["annotation_consortium"],
}

expected_somalier_sites_name = None
reference_ok = False
try:
annotation_details["reference_fasta"] = genome_build.reference_fasta
Expand Down Expand Up @@ -145,7 +146,6 @@ def annotation_build_detail(request, genome_build_name):
if settings.ANNOTATION_GENE_ANNOTATION_VERSION_ENABLED:
annotation_sub_components.append(gene_annotation_counts)

expected_somalier_sites_name = None
if settings.SOMALIER.get("enabled"):
somalier_cfg = SomalierConfig()
try:
Expand Down

0 comments on commit be1676c

Please sign in to comment.