diff options
author | Frederick Muriuki Muriithi | 2022-05-19 15:26:15 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-05-19 15:30:20 +0300 |
commit | 2abe10ea8ac059d7cab83895bb5d2ec6d4a6ce1c (patch) | |
tree | 9e0fdcc010925a9f6d5674d41991b6185aea54e3 /README.org | |
parent | 27f6e9e28f2a3244bdd00336cf918de97b2ceed6 (diff) | |
download | gn-uploader-2abe10ea8ac059d7cab83895bb5d2ec6d4a6ce1c.tar.gz |
Update Web-UI: use new error collection paradigm
- README.org: document how to run scripts manually
- manifest.scm: remove python-rq as a dependency
- qc_app/jobs.py: rework job launching and processing
- qc_app/parse.py: use reworked job processing
- qc_app/templates/job_progress.html: display progress correctly
- qc_app/templates/parse_results.html: display final results
- scripts/worker.py: new worker script
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 22 |
1 files changed, 2 insertions, 20 deletions
@@ -41,28 +41,10 @@ application. *** Run the CLI version -To run the CLI version of the application, we need to set up the correct ~PYTHONPATH~ +Run the CLI version of the application, with #+BEGIN_SRC shell -export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$(pwd)" +python3 -m scripts.qc --help #+END_SRC -which enables us to run the script with -#+BEGIN_SRC shell -python3 scripts/qc.py --help -#+END_SRC - -Without setting up the ~PYTHONPATH~ environment variable, you might get an error -like the following -#+BEGIN_EXAMPLE shell -$ python3 scripts/qc.py --help -Traceback (most recent call last): - File "/home/frederick/genenetwork/gnqc_py/scripts/qc.py", line 8, in <module> - from quality_control.errors import ParseError -ModuleNotFoundError: No module named 'quality_control' -#+END_EXAMPLE - -*NOTE*: Setting up the ~PYTHONPATH~ environment variable is only necessary for -the development environment. It *MUST NOT* require that the end-user set this up -at all! *** Run the web version |