If BCS can't connect to the useroffice api thingie, somewhere along the path, "None" is put into the field that gets written to /measurement/sample/experimenter/email in the h5 file. In the past, this wasn't a problem. But in the new version of the scicat backend, the email in "contactEmail" is validated. This PR sends a dummy email in this case unknown@example.com. Not elegant, but effective.
If BCS can't connect to the useroffice api thingie, somewhere along the path, "None" is put into the field that gets written to
/measurement/sample/experimenter/email
in the h5 file. In the past, this wasn't a problem. But in the new version of the scicat backend, the email in "contactEmail" is validated. This PR sends a dummy email in this caseunknown@example.com
. Not elegant, but effective.