예제 #1
0
 def test_nmit_missing_table_ids(self):
     md = qiime2.Metadata(
         pd.DataFrame([[1]],
                      columns=['i'],
                      index=pd.Index(['20'], name='id')))
     with self.assertRaisesRegex(ValueError, 'Missing samples'):
         nmit(table=self.table_taxa_fp,
              metadata=md,
              individual_id_column='studyid')
예제 #2
0
 def test_nmit(self):
     nmit(table=self.table_taxa_fp, metadata=self.md_ecam_fp,
          individual_id_column='studyid')