als-computing / splash_flows_globus

Other
1 stars 3 forks source link

fix for BCS email issues #10

Closed dylanmcreynolds closed 11 months ago

dylanmcreynolds commented 11 months ago

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.