Open
Description
@tclose - I've been working with pydra this week, and I was having problem on how to get Result
object if the task is run in the simplest way as callable. Is it actually possible to get it or I'm able to get only the Output
.
This is what I am able to get:
resample = ResampleTask(source_filename=source_file)
output = resample()
resample = ResampleTask(source_filename=source_file)
with Submitter(worker="debug") as sub:
res=sub(resample)
So the second one gives full Result
as expected, but the first only gives output that is equivalent to Result.Output
The problem with this is that we loose the access to many useful informations, e.g., cache_dir
, error
, etc.