Skip to content

Commit

Permalink
Change default module to None
Browse files Browse the repository at this point in the history
Changing to None causes the module to be looked up from the
control class, as numerical lookup proved to be unreliable.
  • Loading branch information
natelust committed Feb 15, 2019
1 parent 0e05fd4 commit c728307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/base/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def fail(self, measRecord, error=None):
self.cpp.fail(measRecord, error.cpp if error is not None else None)


def wrapAlgorithmControl(Base, Control, module=2, hasMeasureN=False):
def wrapAlgorithmControl(Base, Control, module=None, hasMeasureN=False):
"""Wrap a C++ algorithm's control class into a Python config class.
Parameters
Expand Down

0 comments on commit c728307

Please sign in to comment.