Skip to content

Minor improvements to sim.py module#1084

Open
tacaswell wants to merge 3 commits into
bluesky:mainfrom
tacaswell:fix/sim
Open

Minor improvements to sim.py module#1084
tacaswell wants to merge 3 commits into
bluesky:mainfrom
tacaswell:fix/sim

Conversation

@tacaswell

Copy link
Copy Markdown
Contributor

@mrakitin mrakitin left a comment

Copy link
Copy Markdown
Member

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.

Comment thread ophyd/sim.py
def describe(self):
desc = super().describe()
desc[self.name]["enum_strs"] = self._enum_strs
desc[self.name]['dtype'] = 'string'

Copy link
Copy Markdown
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