mdozmorov / genome_runner

Academic Free License v3.0
0 stars 3 forks source link

Get rid of non-critical warning when starting command line #62

Closed mdozmorov closed 10 years ago

mdozmorov commented 10 years ago

/home/genomerunner/genome_runner/grsnp/hypergeom4.py:804: SyntaxWarning: name 'print_progress' is assigned to before global declaration global print_progress

lkscara commented 10 years ago

Seems that error is due to 'global' not being needed for variables declared in under name == "main" Should be fixed now