Package net.sf.mzmine.project

Examples of net.sf.mzmine.project.MZmineProject.removeFile()


        final MZmineProject project = MZmineCore.getCurrentProject();
        project.addFile(correctedDataFile);

        // Remove the original data file if requested
        if (removeOriginal) {
          project.removeFile(origDataFile);
        }

        // Set task status to FINISHED
        setStatus(TaskStatus.FINISHED);
View Full Code Here


      final MZmineProject project = MZmineCore.getCurrentProject();
      project.addFile(correctedDataFile);

      // Remove the original data file if requested
      if (removeOriginal)
        project.removeFile(dataFile);
    } catch (IOException e) {
      logger.log(Level.SEVERE,
          "Retention correction initialization error", e);
      setStatus(TaskStatus.ERROR);
      errorMessage = e.getMessage();
View Full Code Here

        final MZmineProject project = MZmineCore.getCurrentProject();
        project.addFile(filteredDataFile);

        // Remove the original data file if requested
        if (removeOriginal)
          project.removeFile(dataFile);

        setStatus(TaskStatus.FINISHED);
        logger.info("Finished spectrum filter " + dataFile.getName());
      }
    } catch (IOException e) {
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.