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

Eliminate globals. For example make some globals labware part of the robot worktable #8

Open
9 of 16 tasks
qPCR4vir opened this issue Jun 27, 2018 · 1 comment
Open
9 of 16 tasks

Comments

@qPCR4vir
Copy link
Owner

qPCR4vir commented Jun 27, 2018

Make some globals labware part of the robot worktable

  • Waste
  • Diti
  • Arm
    State and configuration variables:
  • EvoMode:
    • current
  • Robot
    • current ? partially to self.robot
    • def_arm ? to self.robot.curArm(arm).index
  • Arm ??
    • curr??
  • Protocol:
    • nTips to self.robot.curArm().nTips
    • robot
    • worktable
    • EvoMode
  • Instruction, Instruction_Base
    • curTipMask - to Rbt.tipsMask[self.robot.curArm().nTips]
  • Labware
    • Lab.def_LabW
    • WorkTable.curWorkTable
    • Labware.Types = {} # typeName label-string from template worktable file: labwares class-name.
      Mountain a global list of labwares types like: {'Trough 100ml': <class 'EvoScriPy.Labware.Labware.CuvetteType'>}
      Used: Labware.Types[name]=self for Labware.Types
  • Reactive
    • Reactive.Reactives --> Reagent.current_protocol but still we have:
      + worktable.reagents list (in use)
      + executable.reagents list (not used: to put reagents etmporally not in any worktable?)
    • def_react_excess = 4
    • def_mix_excess = 8
    • NumOfSamples = None # TODO revise this !!! Eliminate this GLOBAL ??????
qPCR4vir added a commit that referenced this issue Jul 5, 2018
qPCR4vir added a commit that referenced this issue Jul 5, 2018
introduce Instruction self.robot = Rbt.Robot.current to replace
 - Instruction_Base curTipMask to Rbt.tipsMask[self.robot.curArm().nTips]
 - arm Pipette.LiHa1 to self.robot.curArm(arm).index
 - Lab.def_LabW
 - Rbt.Robot.current to self.robot
@qPCR4vir
Copy link
Owner Author

qPCR4vir commented May 8, 2019

The list of reagents belong to a worktable or to a protocol?
Could a protocol have a reagent not putting it on the worktable? Is this useful to "move" reagents, temporally not belonging to a worktable?

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

No branches or pull requests

1 participant