mmdPublish needs to access formats
In order for mmdPublish to work, all keys from an mmd file should be slugified, as well as values coming from a vocabulary. The problem is that, in an mmd file, the information about whether a value comes from a vocabulary is lost.
To solve that, mmdPublish needs to access the formats, just as mmdCreate does. The red line in the following flowchart represents this new access.
We need to find a way to solve this elegantly.
graph TD;
A[<font size=4><b>mmdFormats.py</b><br/><font size=2>Metadata implemented there]-->B[<font size=4><b>mmdCreate.py</b><br/><font size=2>Creation of a dataset with MMD metadata<br/>Attribution of an ID];
B-->C[<font size=4><b>Output file</b><br/><font size=2>Default name: metadata.mmd];
D[Input from terminal]-->B;
E[Input from template file]-->B;
C-->F[<font size=4><b>mmdPublish.py</b><br/><font size=2>Publication of a dataset<br/>MMD ID == CKAN ID<br/>MMD Name == CKAN Title<br/>CKAN owner_org == mpcdf]
A-->F
linkStyle 5 stroke:#f00,color:red;