PennLINC / babs

BIDS App Bootstrap (BABS)
https://pennlinc-babs.readthedocs.io
MIT License
7 stars 7 forks source link

[ENH] `babs-status` and `babs-submit` function #2

Closed zhao-cy closed 1 year ago

zhao-cy commented 2 years ago

Before writing babs-status and babs-submit, check existing effort in:

zhao-cy commented 2 years ago

have a text file of list of expected branches (based on the input dataset: availability of the MRI data in each session). babs-status and babs-submit should refer to this text file.

zhao-cy commented 2 years ago

e.g., class job_status

bottom line: not to write as python pickle series (with multiple functions?)...

zhao-cy commented 2 years ago

Best to have a text (or csv) file (probably not tracked by datalad) Every time of babs-submit or babs-status, check this file and update it. This file should have columns of e.g., :

zhao-cy commented 2 years ago

Might try out: Sge array job: an array of jobs, submit only one array but that contains all 1000 jobs; easier to submit and kill and check; still keep the graininess of a job (i.e., can still check each job’s stats)

zhao-cy commented 2 years ago

testing:

zhao-cy commented 1 year ago

only thing left: where to run? (cubic tmpdir, comp_space, etc) can add it in the config yaml file (e.g., section compute_job_working_dir)