Skip to content

Commit

Permalink
Fixing UnboundError
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Aug 12, 2024
1 parent 986661a commit ce2076a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/api/resources/projectr.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ def post(self, dataset_id):
dataset_genes = config.get('num_dataset_genes', -1)
break

message = ""
if common_genes:
message = "Found {} common genes between the target dataset ({} genes) and the pattern file ({} genes).".format(common_genes, dataset_genes, genecart_genes)

Expand Down

0 comments on commit ce2076a

Please sign in to comment.