Skip to content
This repository has been archived by the owner on Jan 8, 2018. It is now read-only.

Invalid syntax in "browse.py" on line 212 #3

Open
jcleple33 opened this issue Jan 5, 2018 · 0 comments
Open

Invalid syntax in "browse.py" on line 212 #3

jcleple33 opened this issue Jan 5, 2018 · 0 comments

Comments

@jcleple33
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant