Skip to content

Commit 3f8e0b6

Browse files
Adding a comment to IPSYB storeOrUpdateImage method
1 parent 884bac7 commit 3f8e0b6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

mxcubecore/HardwareObjects/abstract/ISPyBDataAdapter.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,20 @@ def store_image(self, image_dict):
383383
logging.getLogger("HWR").debug("Storing image in lims")
384384
if "dataCollectionId" in image_dict:
385385
try:
386+
# Possible fields of ISPYB storeOrUpdateImage method are:
387+
# comments (str): additional comments,
388+
# cumulativeIntensity (float): image cumulative intensity value,
389+
# dataCollectionId (int): collection id,
390+
# fileName (str): name of the master file (.h5),
391+
# fileLocation (str): location of the master file,
392+
# imageId (str | None): if None the new id will be created,
393+
# imageNumber (int): number of frames,
394+
# jpegFileFullPath (str): path to jpeg file,
395+
# jpegThumbnailFileFullPath (str): path to jpeg thumbnail file,
396+
# machineMessage: the operator message from the machine,
397+
# measuredIntensity (float): measured flux value,
398+
# synchrotronCurrent (float | str): machine current,
399+
# temperature (float): temperature of the cryo system
386400
image_id = self._collection.service.storeOrUpdateImage(image_dict)
387401
logging.getLogger("HWR").debug(
388402
" - storing image in lims ok. id : %s" % image_id

0 commit comments

Comments
 (0)