heliumdatacommons/MINID_service

Name: MINID_service

Owner: heliumdatacommons

Description: A MINID (http://minid.bd2k.org/) instance for minting identifiers for use across the DataCommons software architecture

Created: 2018-01-16 19:36:43.0

Updated: 2018-01-16 19:37:41.0

Pushed: 2018-01-16 19:36:44.0

Homepage: null

Size: 0

Language: null

GitHub Committers

UserMost Recent Commit# Commits
Tim Putman2018-02-05 17:28:46.07

Other Committers

UserEmailMost Recent Commit# Commits

README

MINID_service

A MINID (http://minid.bd2k.org/) instance for minting identifiers for use across the DataCommons software architecture

mid = MINIDIntegration(config='../config/my-config.cfg', filename='ark:/88120/r8059v', test=True)

Command line to class

Register User

minid.py --register_user --email <email> --name <name> [--orcid <orcid>]

DIntegration(
config='../config/my-config.cfg', 
register_user=True, 
email=abc@123.edu, 
name=user test=True)
Register Entity

minid.py --register [--title <title>] <file_name>

IDIntegration(config='../config/my-config.cfg', register=True, title='title'. file_name=<"file or identifier to retrieve information about or register">)
Retrieve metadata about a file or identifier

minid.py <file_name>

pdate metadata about an identifier:

id.py --update [--title <title>] [--status <status>] [--obsoleted_by <minid>] [--locations <loc1> <loc2>] <identifier>`

MINIDIntegration(

config='../config/my-config.cfg', 
title=<title>, 
status=<status>, 
obsoleted_by=<minid>, 
locations=<loc1> <loc2>,
filename=<"file or identifier to retrieve information about or register">,
)```

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.