getComparisonName

lsst.pex.config.getComparisonName(name1, name2)

Create a comparison name that is used for printed output of comparisons.

Parameters:
name1 : str

Name of the first configuration.

name2 : str

Name of the second configuration.

Returns:
name : str

When name1 and name2 are equal, the returned name is simply one of the names. When they are different the returned name is formatted as "{name1} / {name2}".