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
Yeah, this is going to be tricky to implement. It looks like at least in task output sections they expect to be dealing with the same string that got coerced to a File, rather than something processed.
How will we make this work at workflow scope? We might have one decl that turns a String into a File, then several decls and tasks that depend on that File and need to use its virtualized representation, and then another decl that expects to operate on the File coerced back to the same original string, possibly in the same expression as working with the File's contents.
We could do something like moving virtualization to the boundaries of tasks, so we virtualize a version of the File that we use to pass to tasks, and then we leave a non-virtualized version around for use in decls?
Or we could tack the original non-virtualized path of the File onto it with setattr() so we can get at it later for string coercion.
The spec expects that filenames can be represented as a string to alter things like filename extensions:
https://github.com/openwdl/wdl/blob/9c0b9cf4586508a9e6260cc5c5e562e21f625aac/SPEC.md?plain=1#L6521
We virtualize files into our own representation, so coercing back will give us a toilfile URI instead of the filename:
┆Issue is synchronized with this Jira Story
┆Issue Number: TOIL-1609
The text was updated successfully, but these errors were encountered: