File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -624,24 +624,12 @@ async def __export_to_soakdb3_visit(
624624 crystal_well_models : List [CrystalWellNeedingDroplocationModel ],
625625 ) -> None :
626626
627- # Fetch the plate record for visit.
628- crystal_plate_filter = CrystalPlateFilterModel (visit = visit )
629- crystal_plate_models = await self .__xchembku .fetch_crystal_plates (
630- crystal_plate_filter
631- )
632-
633- if len (crystal_plate_models ) == 0 :
634- raise RuntimeError (
635- f'database integrity error: no crystal plate for visit "{ visit } "'
636- )
637- crystal_plate_model = crystal_plate_models [0 ]
638-
639627 soakdb3_crystal_well_models = []
640628 for m in crystal_well_models :
641629 soakdb3_crystal_well_models .append (
642630 Soakdb3CrystalWellModel (
643631 LabVisit = visit ,
644- CrystalPlate = crystal_plate_model .rockminer_collected_stem ,
632+ CrystalPlate = m .rockminer_collected_stem ,
645633 CrystalWell = m .position ,
646634 EchoX = m .confirmed_microns_x ,
647635 EchoY = m .confirmed_microns_y ,
You can’t perform that action at this time.
0 commit comments