DataBiosphere / dsub

Open-source command-line tool to run batch computing tasks and workflows on backend services such as Google Cloud.
Apache License 2.0
265 stars 44 forks source link

Assignment of task-id #223

Closed smw1414 closed 3 years ago

smw1414 commented 3 years ago

Hi dsub team, I would like to check the task log from the TSV file using --tasks parameter. How do I know which line of TSV file corresponding to a task-id? Thank you.

wnojopra commented 3 years ago

Hi @smw1414 !

From the "Viewing job status" section in the README:

task-id: if the job is submitted with the --tasks parameter, each task gets a sequential value of the form "task-n" where n is 1-based.

So if the first line your TSV file is the header, then the second line of your TSV file is task-1, the third line is task-2, the _n_th line is task-{n-1}, etc.

smw1414 commented 3 years ago

thank you!