Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

We create the draft and commit that to the DB first due to the following “chicken and egg” issue:

  • To create a DataPublication we need a DOI [mandatory field]

  • To create a DOI we need a URL which will have the DataPublication ID in it

...

View file
namedoi process 1.drawio

Various ICAT tables need other entities to be created first as they are needed as a mandatory relationship. Below is a diagram of what is needed to create a DataPublication and how the script api goes about it.

...

Info
  • Facility is taken directly from the investigation

  • DataPublicationType is a constant so is only retreived from the ICATDB once and appended to any DataPublications

...