Package com.compomics.util.pride.validation

Examples of com.compomics.util.pride.validation.PrideXmlValidator


                    // 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);
                        }
                    } else {
                        conversionCompleted = true;
                    }
                } catch (Exception e) {
View Full Code Here

TOP

Related Classes of com.compomics.util.pride.validation.PrideXmlValidator

Copyright © 2018 www.massapicom. 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.