// data assignment metric
String metricstring = parser.getString("metric");
if (metricstring.equalsIgnoreCase("euclidean"))
{
metric = new EuclideanDistance();
}
if (metricstring.equalsIgnoreCase("minrmsd"))
{
metric = new MinimalRMSDistance3D(data.getSequence(0).dimension() / 3);
}