Skip to content

Commit c0f8d78

Browse files
author
David Erb
committed
fixes test needing crystal plate thing type
1 parent 1e7b671 commit c0f8d78

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/chimpflow_lib/chimp_adapter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ def detect(
9090
# TODO: Store the chimp detector output structure as json in the database.
9191
output_dict = coord_generator.combined_coords_list[0]
9292

93-
logger.debug(describe("output_dict", output_dict))
94-
9593
# Construct a new autolocation object to hold the results.
9694
model = CrystalWellAutolocationModel(
9795
crystal_well_uuid=crystal_well_model.uuid,

tests/test_miner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import os
55
import time
66

7+
# Crystal plate constants.
8+
from xchembku_api.crystal_plate_objects.constants import ThingTypes
79
from xchembku_api.datafaces.context import Context as XchembkuDatafaceClientContext
810

911
# Things xchembku provides.
@@ -125,6 +127,7 @@ async def __run_part1(self, image_count, constants, output_directory):
125127
formulatrix__plate__id=10,
126128
barcode="98ab",
127129
visit=visit,
130+
thing_type=ThingTypes.SWISS3,
128131
)
129132

130133
await xchembku.upsert_crystal_plates([crystal_plate_model])

0 commit comments

Comments
 (0)