Skip to content

Document resource pools #2

Description

@dsmits

I just remembered, that I forgot to send you the example how to let the scheduler decide on which of multiple identical devices to choose. On the SLAS poster its the same with plate readers.

In lab-config:

microscopes:
Squid1:
capacity: 1
Squid2:
capacity: 1

https://github.com/pharmbio/cage2_automation/blob/main/lab_adaption/processes/basic_process.py line 35:

The name=None is the important part.

self.squid_pool = MicroscopeServiceResource(proc=self, name=None)

https://github.com/pharmbio/cage2_automation/blob/main/lab_adaption/processes/usual_process.py line 38+39:

The protocol is just a placeholder until we do real experiments and the duration is a guess.

self.robot_arm.move(cont, self.squid_pool)
self.squid_pool.run_protocol(labware=cont, protocol="look_at_it", duration=60*60)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions