NSLS-II / metadatastore

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

provide secondary collection to tag runstarts #234

Closed tacaswell closed 7 years ago

tacaswell commented 8 years ago

See https://github.com/NSLS-II/dataportal/issues/194

Proposal:

def tag(self, rs_uid, dict_of_stuff, update='upsert'):
    '''
    Parameters
    ----------
    rs_uid : str
         the uid of the rustart to tag
    dict_of_stuff : dict
         extra post-collection metadata to insert into tag collection
    update : {'upsert', 'replace', 'insert_only'}
         What to do if this runstart already has a tag
    '''

add a tags collection to mds

danielballan commented 7 years ago

Ported to https://github.com/NSLS-II/databroker/issues/179

This issue has now traveled through two restructurings.