Package com.compomics.util.pride.validation

Examples of com.compomics.util.pride.validation.PrideXmlValidator.validate()


                    // validate the pride xml file
                    if (validatePrideXml && !projectExportDialog.progressCancelled()) {
                        progressDialog.setPrimaryProgressCounterIndeterminate(true);
                        progressDialog.setTitle("Validating PRIDE XML. Please Wait...");
                        PrideXmlValidator validator = new PrideXmlValidator();
                        conversionCompleted = validator.validate(new File(outputFolderJTextField.getText(), outputFileName + ".xml"));

                        // see if any errors were found, and display them to the user
                        if (!conversionCompleted) {
                            JOptionPane.showMessageDialog(null, validator.getErrorsAsString(), "PRIDE XML Errors", JOptionPane.ERROR_MESSAGE);
                        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.