[Swift-devel] [Bug 223] New: wildcard fails in the pattern parameter for simple_mapper

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Tue Mar 16 20:20:07 CDT 2010


https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=223

           Summary: wildcard fails in the pattern parameter for
                    simple_mapper
           Product: Swift
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SwiftScript language
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: skenny at uchicago.edu


the simple_mapper is meant to take a 'pattern' parameter which can contain
wildcards, however...

the following code:

file physdata<simple_mapper;location="rawphys/",pattern="*017*",suffix=".txt">;
trace(@filename(physdata));

produces this error:

Execution failed:
        java.lang.IllegalStateException: mapper.existing() returned a path
.r33subj017 that it cannot subsequently map


though, as i understand it, it should map a single file from this dir:

$ ls rawphys/
r33subj003.txt  r33subj017.txt


(workaround is to use filesys_mapper, so perhaps if this cannot be fixed it
could be altered in the documentation)

-- 
Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.



More information about the Swift-devel mailing list