nbatta / szar

10 stars 7 forks source link

makeGrid.py imports broken alhazen and flipper functions #33

Open dylancromer opened 5 years ago

dylancromer commented 5 years ago

When running a subgrid CMB script from Nick, I am getting a lot of issues with imports in makeGrid.py from alhazen and flipper.

In alhazen.quadraticEstimator, orphics.analysis.flatMaps is imported, however as far as I can tell this is now located in orphics.unmerged.analysis.flatMaps. Same goes for alhazen importing orphics.tools.stats (now orphics.stats).

In flipper.liteMaps, the function liteMapFromDataAndWCS contains the line

flTrace.issue('flipper.liteMap',1,'Reading file %s'%file)

which references a nonexistent variable file (which is passed in a local variable for other functions in this module but not for this particular function).