You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(optional) I pull required input and templates from DATA to RUN. dat pull <path>
I start the run. slurm <run_code>
I commit the started run to the database. dat commit -m <message>
The run has finished. I push results from RUN to DATA. dat push
Code story
Unidirectional sync of subdirectory DATA->RUN. DATA access from file system or cloud. No metadata.
Code writes (optional) specific metadata in metadata.json. Careful with parallelization.
Dat writes message (title and optional body) and automatically retrievable information to metadata.json and creates an according database entry with status running.
Dat updates local metadata.json and database and sets status finished. Unidirectional sync of current directory from RUN to DATA.
Implementation
Via rclone.
JSON in eLabFTW standard. Python: json in standard library, Fortran: json-fortran.
Mimick git and use eLabFTW API. Credentials have been stored as environment variables.
As above.
Open questions
What if a run fails? Still push and/or store metadata as failed?
User story
dat pull <path>slurm <run_code>dat commit -m <message>dat pushCode story
metadata.json. Careful with parallelization.metadata.jsonand creates an according database entry with status running.metadata.jsonand database and sets status finished. Unidirectional sync of current directory from RUN to DATA.Implementation
rclone.jsonin standard library, Fortran: json-fortran.Open questions
dat searchvia eLabFTW API?dat remote addto store urls and keys?