Skip to content

Python package used to check the correctness of a given Masterdata definitions file with respect to the entities already registered in the BAM Data Store.

Notifications You must be signed in to change notification settings

BAMresearch/masterdata-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masterdata Checker

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.

Development

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]'

Launch the Django app

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.

Main contributors

Name E-mail
Carlos Madariaga [email protected]
Dr. Jose M. Pizarro [email protected]
Jörg Rädler [email protected]
Dr. Angela Ariza [email protected]

About

Python package used to check the correctness of a given Masterdata definitions file with respect to the entities already registered in the BAM Data Store.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •