YAML ingest
This tool is used to make dataset records.
Where to find it:
/home/badc/software/datasets/yaml_ingest
USEAGE:
To make a dataset record from a yaml file:
- Record the extra details for the dataset in the extra_info.yaml file.
- Run the copy script to merge the extra info with the supplied metadata file.
$ python copy_adding.py metadata.yaml extra_info.yaml
- This will make a new metadata file "new-metadata.yaml".
- Then you can run yaml2moles script with the new metadata file to create the dataset record
$ python yaml2moles.py new-metadata.yaml
This will make the records and ask you to check it in the catalogue. If it's not ok then reply "no" and any created records will be removed.