Repo to test datajoint functionality with lab pipeline
- Added simple streamlit app to import data into the pipeline (work in progress)
pip install -r requirements.txt
For standard setup, follow the instructions on the datajoint website. Set up the mysql database using docker. Then run the following commands after starting the container:
import datajoint as dj
dj.config['database.host'] = '127.0.0.1'
dj.config['database.user'] = 'root'
dj.config['database.password'] = 'simple'
To run the streamlit app, run the following command in the terminal:
cd Datajoint_test
then:
streamlit run app.py
The datajoint schema and tables are defined in the file tables.py
. The pipeline is based on the tutorial and datajoint tutorials.
tables.py
: contains the schema and tablesutils\load_data.py
: contains functions to load data into the pipelineutils\analysis.py
: contains functions to analyze data in the pipeline
The data is stored locally, but the pipeline can be adapted to use data from different sources.
This project is licensed under the terms of the MIT license.