Closed jbkalmbach closed 1 year ago
Other than that, yeah, when using older notebooks you will have to update the paths when importing. But everything we do can actually be imported without the module name because we have added them to the __init__.py
in each module. So instead of:
from lsst.ts.wep.task.generateDonutDirectTask import GenerateDonutDirectDetectTask
you can do
from lsst.ts.wep.task import GenerateDonutDirectDetectTask
and that should work when moving back and forth between versions.
Everything's actually been changed in
ts_wep
already in v6.0 which has been merged. This PR just updates the module names to use the new version ofts_wep
. Otherwise you will have errors when trying to import like you are asking about. This is why Jenkins failed last night when buildingts_phosim
.In my testing with the new version of
ts_wep
the only thing that broke is the DonutStamps issue we discussed and that I added into the README with a description of a fix for that.