DiamondLightSource / SynchWeb

ISPyB web application
http://diamondlightsource.github.io/SynchWeb/
Apache License 2.0
15 stars 31 forks source link

LIMS-1330: Use experimentTypeId if specified #796

Closed ndg63276 closed 1 month ago

ndg63276 commented 2 months ago

JIRA ticket: LIMS-1330

Summary:

There are 2 ways a DataCollectionGroup can have an experiment type:

  1. By setting the DataCollectionGroup.experimentType to a suitable enum
  2. By setting the DataCollectionGroup.experimentTypeId to a suitable integer, and then getting the ExperimentType.name field.

Synchweb should be able to cope with both.

Changes:

To test: