-
Notifications
You must be signed in to change notification settings - Fork 8
Metazen
Metazen is a metadata editor for MiXS compliant metadata in MG-RAST. It has the capability to import from and export to Excel, as well as loading and saving project metadata and direct upload of the metadata to the user inbox.
At startup, Metazen loads the base Excel template, the project list of the currently logged in user and a set of CVs. The CVs are used for select and tree inputs.
The page starts out with project, sample and the library tabs visible. The environmental packages can be enabled via their checkboxes. If an env_package is selected in a sample row and the according package tab is not yet active, it will be activated.
Sample names will be stored and can be used on the depending sheets by selecting them from a dropdown menu.
The table_clicked
function is the central control. When a cell in the table is clicked it is transformed into the input type defined by the metadata definition from the widget.tables
data-structure. There are date, text, tree, dropdown-select and other input types.
There is a progress renderer that tracks the compliance to MiXS. Optionally (set by RetinaConfig.showProfileChooser
) a list of profiles is shown to track compliance to them.
The keypress
event checks for esc
to cancel the input and enter
to complete the input and go into the next row of the same column. When the last row is reached, a new row will be appended. The +
button allows for entering of misc params.