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:
  1. Record the extra details for the dataset in the extra_info.yaml file.
  2. Run the copy script to merge the extra info with the supplied metadata file.

    $ python copy_adding.py metadata.yaml extra_info.yaml
  3. This will make a new metadata file "new-metadata.yaml".
  4. 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.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us