Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tickets/DM-17757 Fix creating imports when saving config #139

Merged
merged 1 commit into from Feb 19, 2019

Conversation

natelust
Copy link
Contributor

Change default module to None

Changing to None causes the module to be looked up from the
control class, as numerical lookup proved to be unreliable.

@@ -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):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should update the parameter docs to reflect the new default as well.

Changing to None causes the module to be looked up from the
control class, as numerical lookup proved to be unreliable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants