[Swift-devel] mapping files from directories
Uri Hasson
uhasson at gmail.com
Mon May 5 20:59:51 CDT 2008
Hello all,
I seem to be able to map files when no directory is stated as part of the
prefix, but this mapping fails when path is included.
Works:
AFNIobj inp<simple_mapper;prefix=@strcat("ts.0",subject,".",run,"+orig.")>;
Breaks:
AFNIobj
inp<simple_mapper;prefix=@strcat("inputs/ts.0",subject,".",run,"+orig.")>;
The first succeeds [SwiftScript trace: ts.005.1+orig.BRIK SwiftScript trace:
ts.005.1+orig.HEAD]
and the second gives:
java.lang.RuntimeException: Data set initialization failed for
org.griphyn.vdl.mapping.RootDataNode identifier
tag:benc at ci.uchicago.edu<tag%3Abenc at ci.uchicago.edu>,2008:swift:dataset:20080505-2056-s3bk01i8:720000000047
with no value at dataset=inp (closed). Missing required field: HEAD
Only difference is file location.
Because I intend to map files existing in various directories in the file
system (or even in an 'inputs' dir underneath the current working swift
dir), understanding this would be helpful.
Thanks,
Uri
On Sun, May 4, 2008 at 8:35 PM, Ben Clifford <benc at hawaga.org.uk> wrote:
>
> > This solves the problem.
>
> ok good. You should be able to change the 05 into another array index too,
> through a similar looking regexp (or something that is actually
> readable/maintainable...)
>
> --
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20080505/0beb7125/attachment.html>
More information about the Swift-devel
mailing list