helpers
This package contains functions that make the workflow more easy for the user:
- create_database can be used for the first setup of a new database.
- allowed_values_not_adapted.py contains the file with allowed values as it is copied to the archive root during the installation process.
- The functions in helper_functions are internally used for the dynamic cration of models
- The module full_entry provides functions that combine the workflow for the creation or deletion of a new measurement entry and the creation/deletion of the corresponding directory in the archive folder.
full_entry
|
Create a complete measurement entry including database and file system operations. |
|
Delete a complete measurement entry (with the id ms_id) including database and file system operations. |
|
Create a complete molecule entry including database and file system operations. |
helper_functions
|
Create dynamically a pydantic-class for filtering based on an SQLAlchemy- model. |
|
Create dynamically a pydantic-class for ordering based on an SQLAlchemy model. |
|
Create dynamically a pydantic-class for updating based on an SQLAlchemy model. |