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

Minor improvements to sim.py module #1084

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tacaswell
Copy link
Contributor

Copy link
Member

@mrakitin mrakitin left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the prompt fix, @tacaswell!

Let's fix the linting issues before merging.

@@ -88,6 +88,7 @@ def get(self, *, as_string=True, **kwargs):
def describe(self):
desc = super().describe()
desc[self.name]["enum_strs"] = self._enum_strs
desc[self.name]['dtype'] = 'string'
Copy link
Member

Choose a reason for hiding this comment

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

Suggestions from linter:

Suggested change
desc[self.name]['dtype'] = 'string'
desc[self.name]["dtype"] = "string"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ophyd.sim.det issue with configuration
2 participants