-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Daniel Morcuende edited this page Oct 22, 2022
·
6 revisions
After installing lstosa
run pytest --basetemp=test_osa
from the root directory of the repository (where setup.py
is placed). You can control verbosity with -v
, -vv
, etc. If you want to execute a given test use -k <test_name>
or only some tests from a given subfolder with -m <path_to_subfolder>
.
Tests should be self-contained, i.e., everything needed by the tests should be either within the extra
subfolder or just produced by the test fixtures. Therefore, they should be able to run in any environment adequately set.
The message in the queue output says: launch failed requeued held
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
323390_112 long LST1_089 user.name PD 0:00 1 (launch failed requeued held)
This job can be resumed by doing: scontrol release 323390_112
sqlite3 /path/to/osa.db
sqlite> .schema processing
CREATE TABLE processing`
`(telescope, date, prod_id, start, end, is_finished);
sqlite> select * from processing;
LST1|2022-06-05|v0.9|2022-06-09 19:58:03.124332|2022-06-09 21:10:10.637506|1