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

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

Description

@jcleple33

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions