Commit b52281af authored by Samuël Weber's avatar Samuël Weber
Browse files

update README

parent edbddac2
The SOURCES project
===================
Get OP stand OP
===============
The SOURCES project has notably been set-up to gather and investigate in harmonized
way 15 datasets of chemical compounds from PM collected for PMF studies during a
5-year period (2012-2016) in France.
The *Get OP stand OP* project has notably been set-up to gather and investigate in harmonized
way 15 datasets of chemical compounds from PM collected for PMF studies from 2013 to 2018 in France.
On the very same sample, a source apportionment of oxidative potential of PM (OP) has been
conducted via two different OP assays: the DTT and AA.
Here we propose a webapp to interactively explore the results obtain during this campaign.
Here we propose a webapp to interactively explore the results obtain during this project.
More information and detailled discussion can be found at:
- [http://pmsources.u-ga.fr](http://pmsource.u-ga.fr)
The website lives at[http://getopstandop.u-ga.fr](http://getopstandop.u-ga.fr).
The web app
===========
The app is written in [dash](http://dash.plot.ly/), "a productive Python framework for building web applications".
Link to the production app [website](http://pmsources.u-ga.fr).
How to run it?
--------------
......@@ -26,8 +23,8 @@ If you want to run it on yourself, you can download it as follow:
1. clone the repo:
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/pmall/pm-source.git
cd pm-source
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/pmall/app_op.git
cd app_op
1. create the python virtual environment (python3) (you need `python3-venv`
installed):
......@@ -37,7 +34,7 @@ If you want to run it on yourself, you can download it as follow:
1. Install the requirements:
python -m pip install -r requirements.txt
python -m pip install -r requirements-freeze.txt
1. Run the app:
......@@ -47,24 +44,19 @@ Structure
---------
```
├── DB_SOURCES.db
├── data
│   ├── deconvolOP.db
├── app_main.py
├── index.py
├── apps
│   ├── __init__.py
│   ├── app_components_SOURCES.py
│   ├── app_components.py
│   ├── app_contact.py
│   ├── app_results.py
│   ├── app_sources.py
│   └── utilities.py
│   └── app_acknoledgments.py
├── assets
│   ├── app_SOURCES.css
│   └── img
│   ├── logo_ADEME.png
│   ├── logo_IGE.png
│   ├── logo_INERIS.png
│   └── logo_LCSQA.png
└── requirements.txt
├── requirements.txt
└── requirements-freeze.txt
```
......@@ -74,6 +66,6 @@ based on the url (retrieve thanks to the `dcc.Location` component).
Then the layout of each pages (in `apps/`) is return back to the main app and displayed.
Each layout of the apps is (kind of) skiny, and contains mainly the callbacks.
The `app_components_SOURCES.py` contains utility fonctions and "elemental bricks" for the layouts.
The `app_components.py` contains utility fonctions and "elemental bricks" for the layouts.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment