The masterdata_checker
is a Django app used to check the correctness of a given Masterdata definitions file with respect to the entities already registered in the BAM Data Store (as defined in the bam-masterdata
package). In the app, you can:
- Log in your openBIS instance.
- Run checks of a local Masterdata Excel file. Note: only supported file formats are
.xls
and.xlsx
- Revise the errors logs to correct mistakes in the original Masterdata file.
If you want to develop locally this package, clone the project and enter in the workspace folder:
git clone https://github.com/BAMresearch/masterdata-checker
cd masterdata_checker
We recommend using uv
for fast pip installation of the package. In this case, you can instead create a virtual environment by doing:
uv venv
source .venv/bin/activate
Install the package with the desired optional dependencies (specified in between brackets, e.g., [dev]
) and in editable mode (with the added -e
flag):
uv pip install -e '.[dev]'
In order to launch the Django app, navigate to the masterdata_checker/
subfolder:
cd masterdata_checker
And run:
python manage.py runserver
This will run the Django app server:
Performing system checks...
System check identified no issues (0 silenced).
June 05, 2025 - 06:24:20
Django version 5.2.1, using settings 'checker.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Simply click on the localhost address http://127.0.0.1:8000/
to launch the app.
Name | |
---|---|
Carlos Madariaga | [email protected] |
Dr. Jose M. Pizarro | [email protected] |
Jörg Rädler | [email protected] |
Dr. Angela Ariza | [email protected] |