Better selection of commisioning proposals
Currently, MXCuBE checks if the proposals is Commissioning
based on on the title of the proposal. See here
if (
HWR.beamline.lims.loginType.lower() == "user"
and "Commissioning" in proposal_info["Proposal"]["title"]
):
if hasattr(HWR.beamline.session, "set_in_commissioning"):
HWR.beamline.session.set_in_commissioning(proposal_info)
logging.getLogger("MX3.HWR").info(
"[LIMS] Commissioning proposal flag set."
)
I think this is not accurate (since not all proposals will have the commissioning word in the title) and (my proposal) this should be delegated to the lims to resolve if a proposal/session is commissioning or not.