No longer remove characters after end of digits.
authorilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Wed, 7 Mar 2018 21:42:46 +0000 (21:42 +0000)
committerilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Wed, 7 Mar 2018 21:42:46 +0000 (21:42 +0000)
git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/trunk@15403 ba61647d-9d00-f842-95cd-605cb4296b96

mipav/src/plugins/PlugInAlgorithmXMLtoCSVFile.java

index 696a362..3c0f034 100644 (file)
@@ -104,12 +104,8 @@ public class PlugInAlgorithmXMLtoCSVFile extends AlgorithmBase {
                                firstNumFound = true;\r
                                beginIndex = j;\r
                        }\r
-                       else if (firstNumFound && !Character.isDigit(ch)) {\r
-                               endIndex = j;\r
-                               break;\r
-                       }\r
                    } // for (j = 0; j < name.length(); j++)\r
-                   id = name.substring(beginIndex, endIndex);\r
+                   id = name.substring(beginIndex);\r
                    try {\r
                     raInputFile = new RandomAccessFile(files[i], "r");\r
                 } catch (final FileNotFoundException e) {\r