This adds a flag use_convention to the public CLI in manage_study.py, analogous to the new "Use metadata convention?" option in the GUI described in broadinstitute/single_cell_portal_core#336.
This enables users to validate their metadata against standard vocabularies and make it queryable in SCP's upcoming faceted search UI (or not).
(env) wm10d-4e7:scripts eweitz$ python manage_study.py upload-metadata --help
usage: manage_study.py upload-metadata [-h] --file METADATA_FILE
[--use-convention] --study-name
STUDY_NAME [--description DESCRIPTION]
optional arguments:
-h, --help show this help message and exit
--file METADATA_FILE Metadata file to load.
--use-convention Whether to use metadata convention: validates against
standard vocabularies, and will enable faceted search
on this data
--study-name STUDY_NAME
Name of the study to add the file.
--description DESCRIPTION
Text describing the metadata file.
This adds a flag
use_convention
to the public CLI inmanage_study.py
, analogous to the new "Use metadata convention?" option in the GUI described in broadinstitute/single_cell_portal_core#336.This enables users to validate their metadata against standard vocabularies and make it queryable in SCP's upcoming faceted search UI (or not).
Example call:
This satisfies SCP-1913.