getComparisonName

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

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

Parameters
name1str

Name of the first configuration.

name2str

Name of the second configuration.

Returns
namestr

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}".