This commit is contained in:
2007-06-05 13:37:41 +00:00
parent 65e22a235d
commit 1a768aa97e

View File

@ -26,16 +26,12 @@ int main(int argc, char **argv){
taxonomy = read_taxonomy(argv[optind]);
son = eco_findtaxonbytaxid(taxonomy, taxid_2);
//printf("# %s\n",son->parent->name);
son = eco_findtaxonbytaxid(taxonomy, taxid_1);
/*
if (eco_isundertaxon(son, tax_id_2))
printf("tax_id_1 is son of tax_id_2");
if (eco_isundertaxon(son, taxid_2))
printf("taxid_1 (%d) is son of taxid_2 (%d)\n",taxid_1, taxid_2);
else
printf("tax_id_1 is NOT son of tax_id_2");
*/
printf("taxid_1 (%d) is NOT son of taxid_2 (%d)\n",taxid_1, taxid_2);
return 0;
}