We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dc68d1 commit 7952bf7Copy full SHA for 7952bf7
src/primer-design/FetchAPE.py
@@ -5,6 +5,7 @@
5
import os.path
6
import requests
7
import json
8
+sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../helpers'))
9
from classes.Gene import Gene
10
from classes.Gene import returnError
11
from Config import Config
@@ -95,8 +96,9 @@ def main():
95
96
args = cgi.FieldStorage()
97
geneSymbol = args.getvalue('gene')
98
ENSID = args.getvalue('ENSID')
- #SINCE THIS IS ONLY CALLED FROM THE musmusculims DATABASE, WE DEFAULT genome TO 'mm10'
99
- genome = 'mm10'
+ genome = args.getvalue('genome')
100
+ if not genome:
101
+ printError("No genome assembly provided")
102
dbConnection = Config(genome)
103
104
# if ENSID is provided, we always use it to infer the geneSymbol
0 commit comments