Closed EvanKirshenbaum closed 8 months ago
This issue was referenced by the following commit before migration:
That was trickier than I thought it would be. The solution I came up with is that for platforms like Bilby, which depend on DLLs that might not be there, you can specify the PlatformChoiceTask
as a string. The PlatformChoiceExerciser
tries to load the module, and if it can't it just logs a warning and ignores the platform.
So now in interactive
, instead of
from devices import bilby, joey, opendrop, wombat, opentrons, manual_pipettor
...
if __name__ == '__main__':
platforms = (
bilby.PlatformTask,
joey.PlatformTask,
opendrop.PlatformTask,
wombat.PlatformTask,
wombat.YaminonPlatformTask,
)
...~~~
you now say
~~~py
from devices import joey, opendrop, wombat, opentrons, manual_pipettor
...
if __name__ == '__main__':
platforms = (
"devices.bilby.PlatformTask",
joey.PlatformTask,
opendrop.PlatformTask,
wombat.PlatformTask,
wombat.YaminonPlatformTask,
)
...
while running
interactive.py opendrop
I get an error:ModuleNotFoundError: No module named 'pyglider'
which is referring to this line.Apparently it references this file.
When I comment
bilby
ininteractive.py
it runs without problemsMigrated from internal repository. Originally created by Mark Huber on Jul 07, 2022 at 1:24 PM PDT. Closed on Aug 08, 2022 at 12:48 PM PDT.