Skip to content

Commit 3935e29

Browse files
author
andy
committed
store bayomics
1 parent 308d780 commit 3935e29

File tree

11 files changed

+29
-25
lines changed

11 files changed

+29
-25
lines changed

oem_projects/bayOmics/bayOmicsLib.egg-info/PKG-INFO renamed to oem_projects/bayOmics/BayOmicsLib.egg-info/PKG-INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
2-
Name: bayOmicsLib
3-
Version: 1.0.0
2+
Name: BayOmicsLib
3+
Version: 1.0
44
Summary: UNKNOWN
55
Home-page: UNKNOWN
66
License: UNKNOWN
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
BayOmicsLib.py
2+
README.md
3+
setup.py
4+
BayOmicsLib.egg-info/PKG-INFO
5+
BayOmicsLib.egg-info/SOURCES.txt
6+
BayOmicsLib.egg-info/dependency_links.txt
7+
BayOmicsLib.egg-info/top_level.txt
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BayOmicsLib

oem_projects/bayOmics/bayOmicsLib.py renamed to oem_projects/bayOmics/BayOmicsLib.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class DropMethod(Enum):
5454
DropOnceUse = 4 # 一旦使用就丢针管
5555

5656

57-
class BasicDriver:
57+
class BayOmicsLib:
5858
@classmethod
5959
def get_com_list(cls):
6060
port_list = serial.tools.list_ports.comports()
@@ -75,7 +75,7 @@ def print_f(self, msg):
7575
self.protocol.comment(msg)
7676

7777
def build_connection(self):
78-
res = BasicDriver.get_com_list()
78+
res = BayOmicsLib.get_com_list()
7979
self.print_f("=" * 5 + "PORT LIST" + "=" * 5)
8080
for index, p in enumerate(res):
8181
self.print_f(f"{index + 1} >>{p.device}")
@@ -606,7 +606,7 @@ def init_loop(self):
606606
self.init_device()
607607

608608

609-
def transfer_user_liquid(pipette: protocol_api.InstrumentContext, liquid_labware: protocol_api.Labware,
609+
def _transfer_user_liquid(pipette: protocol_api.InstrumentContext, liquid_labware: protocol_api.Labware,
610610
customer_labware: protocol_api.labware, customer_labware_pos: str, liquid_name: str,
611611
volume: float, move_location: protocol_api.Labware, pick_up=False, drop=False):
612612
"""
@@ -661,7 +661,7 @@ def _drop_tip():
661661

662662
def transform_round(pipette: protocol_api.InstrumentContext, liquid_labware: protocol_api.Labware,
663663
customer_labware: protocol_api.labware, liquid_name: str, sample_counts: int,
664-
volume: float, move_location: protocol_api.Labware, serial_device: BasicDriver, pressure=None,
664+
volume: float, move_location: protocol_api.Labware, serial_device: BayOmicsLib, pressure=None,
665665
duration=30, drop_method: DropMethod = DropMethod.DropAtLast, protocol=None):
666666
"""
667667
执行加液,正压,一个流程
@@ -689,7 +689,7 @@ def transform_round(pipette: protocol_api.InstrumentContext, liquid_labware: pro
689689
else:
690690
drop = True
691691
pick_up = True
692-
transfer_user_liquid(pipette, liquid_labware, customer_labware, f'A{i + 1}', liquid_name, volume, move_location,
692+
_transfer_user_liquid(pipette, liquid_labware, customer_labware, f'A{i + 1}', liquid_name, volume, move_location,
693693
pick_up=pick_up, drop=drop)
694694
if pressure:
695695
if USE_MODE == "Debugging":

oem_projects/bayOmics/bayOmicsLib.egg-info/SOURCES.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

oem_projects/bayOmics/bayOmicsLib.egg-info/top_level.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

oem_projects/bayOmics/main_protocol.py

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)