[Swift-user] Silly question about mappers

Michael Wilde wilde at mcs.anl.gov
Thu Dec 13 11:33:54 CST 2012


There is a simple_mapper option "padding=" the enables you to set the number of digits to be used in the generated names. This needs to be documented in the User Guide.

- Mike

----- Original Message -----
> From: "Lorenzo Pesce" <lpesce at uchicago.edu>
> To: swift-user at ci.uchicago.edu
> Sent: Thursday, December 13, 2012 11:14:36 AM
> Subject: [Swift-user] Silly question about mappers
> When I use a simple mapper, integers are mapped as 4 digit numbers,
> e.g., as "0003".
> Is there a way to force the mapper to just use "3", i.e., discard the
> preceding "0"?
> 
> Thanks
> 
> Lorenzo
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user

-- 
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory




More information about the Swift-user mailing list