File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/edu/msu/cme/rdp/classifier/train Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,8 @@ void printTrainingFiles(String outdir) throws IOException {
414
414
private void displayTrainingTree (RawHierarchyTree root ) throws IOException {
415
415
Taxonomy taxon = ((Taxonomy ) root .getTaxonomy ());
416
416
417
- treeFile .write ("<TreeNode name=\" " + root .getName ().replaceAll ("\" " , """ ).replaceAll ("&" , "" ) + "\" taxid=\" "
417
+ // need to remove the & sign in the taxon names
418
+ treeFile .write ("<TreeNode name=\" " + root .getName ().replaceAll ("&" , "" ).replaceAll ("\" " , """ ) + "\" taxid=\" "
418
419
+ taxon .taxID + "\" rank=\" " + taxon .hierLevel + "\" parentTaxid=\" "
419
420
+ taxon .parentID + "\" leaveCount=\" "
420
421
+ root .getLeaveCount () + "\" genusIndex=\" " + root .getGenusIndex ()
You can’t perform that action at this time.
0 commit comments