Previous topic

options

Next topic

parseRange

This Page

parseMapping

NepidemiXConfigParser.parseMapping(mapStr, dtype=<type 'str'>)

Parse a mapping string on the form src->dest.

Utility method.

Parameters :

mapStr : str

String on the form <src> -> <dest>

dtype : special, optional

Before returning the source and dest objects will be casted using this function. Default: str.

Returns :

src : str

Left of the ‘->’ operator.

dst : str

Right of the ‘->’ operator.