file not found error in Workflow
Closed this issue · 0 comments
hsun3163 commented
This issus is to document the source of the following reoccurring error so that it could be fixed at ease in the future:
FileNotFoundError Traceback (most recent call last)
script_6664120179835120613 in <module>
----> R(fr"""library("dplyr")
library("tibble")
library("susieR")
library("plink2R")
FileNotFoundError: 2
Error in this form is usually due to not specifying which output is the {_output:n} in the following section specifying. Changing it to f'{_output[0]:n} remove the error
task: trunk_workers = 1, trunk_size = job_size, walltime = '4h', mem = "6G" , tags = f'{step_name}_{_output[0]:bn}'
R: expand= "$[ ]", stderr = f'{_output[0]:n}.stderr', stdout = f'{_output:n}.stdout', container = container,volumes = [f'{wd:a}:{wd:a}']