Hi,
I tried to run isoseq-browser and got this error message "Invalid syntax in "browse.py" on line 212"
Below the command line entered and the complete error messages obtained:
$ make run
source activate ib_env && PYTHONPATH=./dep:. bokeh serve --show browse.py --args --input mcf7_matchAnnot_results_download.pickle --anno gencode.v25.annotation.gtf
ERROR:Error loading /Users/jcleple/isoseq-browser/browse.py:
Invalid syntax in "browse.py" on line 212:
global tranNum, colorDF, chromosome, strand, opt
Traceback (most recent call last):
File "/Users/jcleple/anaconda3/envs/ib_env/lib/python3.6/site-packages/bokeh/application/handlers/code_runner.py", line 40, in init
self._code = compile(nodes, filename=path, mode='exec', dont_inherit=True)
File "/Users/jcleple/isoseq-browser/browse.py", line 212
global tranNum, colorDF, chromosome, strand, opt
^
SyntaxError: name 'opt' is used prior to global declaration
make: *** [run] Error 1
Thanks in advance for your help!
Hi,
I tried to run isoseq-browser and got this error message "Invalid syntax in "browse.py" on line 212"
Below the command line entered and the complete error messages obtained:
$ make run
source activate ib_env && PYTHONPATH=./dep:. bokeh serve --show browse.py --args --input mcf7_matchAnnot_results_download.pickle --anno gencode.v25.annotation.gtf
ERROR:Error loading /Users/jcleple/isoseq-browser/browse.py:
Invalid syntax in "browse.py" on line 212:
global tranNum, colorDF, chromosome, strand, opt
Traceback (most recent call last):
File "/Users/jcleple/anaconda3/envs/ib_env/lib/python3.6/site-packages/bokeh/application/handlers/code_runner.py", line 40, in init
self._code = compile(nodes, filename=path, mode='exec', dont_inherit=True)
File "/Users/jcleple/isoseq-browser/browse.py", line 212
global tranNum, colorDF, chromosome, strand, opt
^
SyntaxError: name 'opt' is used prior to global declaration
make: *** [run] Error 1
Thanks in advance for your help!