ratt-ru / meqtrees-timba

software system for implementing and solving arbitrary Measurement Equations
4 stars 5 forks source link

meqtree-pipeline.py: -d option does not work #41

Closed bmerry closed 5 years ago

bmerry commented 6 years ago

Passing e.g. -dOctopussy=2 to meqtree-pipeliner.py gives this error

Traceback (most recent call last):
  File "/usr/bin/meqtree-pipeliner.py", line 61, in <module>
    debuglevels[context] = int(level);
NameError: name 'debuglevels' is not defined

The culprit is this line, which stuffs the options in a dict which isn't defined (and nothing gets done with it later).

gijzelaerr commented 5 years ago

since it doesn't seem to be used I just removed the line.

@o-smirnov is that okay, or is this some terrible confusing global programming thingy?