mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-15 12:15:11 +00:00
Refine biomek
This commit is contained in:
@@ -15,6 +15,7 @@ from typing import List, Sequence, Optional, Union, Literal
|
||||
import json
|
||||
import pathlib
|
||||
from typing import Sequence, Optional, List, Union, Literal
|
||||
import copy
|
||||
|
||||
|
||||
|
||||
@@ -351,8 +352,9 @@ class LiquidHandlerBiomek:
|
||||
"""
|
||||
items = []
|
||||
|
||||
asp_params = self.aspirate_techniques.get(aspirate_techniques, {})
|
||||
dis_params = self.dispense_techniques.get(dispense_techniques, {})
|
||||
asp_params = copy.deepcopy(self.aspirate_techniques[aspirate_techniques])
|
||||
dis_params = copy.deepcopy(self.dispense_techniques[dispense_techniques])
|
||||
|
||||
|
||||
asp_params['Position'] = source
|
||||
dis_params['Position'] = target
|
||||
@@ -403,7 +405,9 @@ class LiquidHandlerBiomek:
|
||||
transfer_params["Solvent"] = 'Water'
|
||||
transfer_params["TipLocation"] = tip_rack
|
||||
tmp={'transfer': transfer_params}
|
||||
|
||||
self.temp_protocol["steps"].append(tmp)
|
||||
|
||||
|
||||
return
|
||||
|
||||
@@ -968,6 +972,7 @@ if __name__ == "__main__":
|
||||
print(f"步骤 {step['step_number']}: {description}")
|
||||
|
||||
if operation == 'transfer':
|
||||
|
||||
handler.transfer_biomek(
|
||||
source=parameters['source'],
|
||||
target=parameters['target'],
|
||||
|
||||
Reference in New Issue
Block a user