NSLS-II / metadatastore

DEPRECATED: Incorporated into https://github.com/NSLS-II/databroker
Other
2 stars 11 forks source link

ENH: corrections to MDS #237

Closed CJ-Wright closed 7 years ago

CJ-Wright commented 8 years ago

I know there was some work done in the past on allowing corrections to the MDS documents. Would it be possible to bring that back? I think @ericdill might have been the last person to touch that feature.

klauer commented 8 years ago

I have no real opinion on this - but can you fill us in as to why you need this feature?

CJ-Wright commented 8 years ago

I recently took some data and need to correct the uuid in the foreground data which links it to the calibration data.

ghost commented 8 years ago

What do you mean by "correcting" the uid?

CJ-Wright commented 8 years ago

Because of the setup at XPD I specified two uuids (which are seperate from the run, event, image, or any other uuid which is created by the database stack) these two uuids link the foreground data to the background data (they share the same uuid, and the background data has a flag to note that it is background) and the foreground data to the calibration data (again they share this uuid and have a flag). However, for some of the runs I used the wrong uuid for the calibration data. I would like to correct this. More broadly I imagine that users may have the (hopefully rare) problem of entering erroneous metadata which would need to be fixed.

CJ-Wright commented 8 years ago

See #150 and NSLS-II/wishlist#1

tacaswell commented 8 years ago

This should follow the pattern of https://github.com/NSLS-II/filestore/pull/58 and add a MDS_DANGER sub-class which allows for updating (and logging there of) user specifying fields along with the needed updates to broker.

danielballan commented 7 years ago

Track https://github.com/NSLS-II/databroker/issues/180