Upload data collection to ICAT when LIMS is ICAT
Currently, the class ISPyBClient contains one object which role is ICAT_Client. This is has been done in order to upload datasets to ICAT during the data acquisition in paralel to ISPyB https://gitlab.esrf.fr/bcu/mxcubecore/-/blob/gitlab-develop/mxcubecore/HardwareObjects/ISPyBClient.py?ref_type=heads#L191
def init(self):
"""
Init method declared by HardwareObject.
"""
self.lims_rest = self.get_object_by_role("lims_rest")
self.pyispyb = self.get_object_by_role("pyispyb")
self.icat_client = self.get_object_by_role("icat_client")
However, when ICATLimsClient is configured then the data collections are not uploaded to ICAT because it does not use ICATClient
This issue implements the same behavior when ICATLimsClient is chosen
Edited by Alejandro De Maria Antolinos