def get_phylogenetic_row_metric(name):
 return getattr(qiime.beta_metrics, ('one_sample_' + name.lower()))

def get_phylogenetic_row_metric ( name ) : return getattr ( qiime . beta_metrics , ( 'one_sample_' + name . lower ( ) ) )
gets metric by name from qiime .