Skip to content

Some refactoring and unpacking hacks.#2

Open
jahooker wants to merge 2 commits intosklumpe:devfrom
jahooker:dev
Open

Some refactoring and unpacking hacks.#2
jahooker wants to merge 2 commits intosklumpe:devfrom
jahooker:dev

Conversation

@jahooker
Copy link

Hi Sven!

Nice work with SerialFIB. I've made a couple changes inside AquilosDriver.py, including one which unpacks a dict into a StagePosition object. I find it quite a neat trick, and thought you might like it.

Best,
James

jahooker added 2 commits May 30, 2022 14:40
Logging is now done by collecting messages (strings) in a list.
When it becomes necessary, these messages can be concatenated.

On failure, functions no longer return an empty tuple (), but None.

And miscellaneous changes to make everything a bit more Pythonic.
CraignRush pushed a commit to CraignRush/SerialFIB that referenced this pull request Nov 23, 2022
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.

1 participant