Changeset 4082


Ignore:
Timestamp:
Dec 17, 2010, 10:15:37 AM (12 years ago)
Author:
olle
Message:

Refs #668. Refs #287. the following classes/files were updated to refer to processing with msInspect program as "feature detection" in displayed text:

  1. action/file/UseSpectrumFileForMsInspectSearchExtension.java in client/servlet/.
  1. action/msInspect/RunMsInspect.java in client/servlet/.
  1. plugins/RunMsInspectPlugin.java in plugin/.
  1. locale/en/dictionary in client/servlet/.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/locale/en/dictionary

    r4073 r4082  
    424424MsFile=MS File
    425425MsInspect=msInspect
    426 MsInspectFeatureFinding=msInspect Feature Finding
    427 MsInspectSearch=msInspect Search
     426MsInspectFeatureDetection=msInspect Feature Detection
    428427MwInDaltons=Molecular weight (Da)
    429428MyFiles=My Files
     
    464463NextMascotEditParametersBeforeCreatingSearchJobs=Next - Edit parameters before search
    465464Next=Next
    466 NextMsInspectCreateSearchJobs=Next - Create search job[s]
     465NextMsInspectCreateFeatureDetectionJobs=Next - Create feature detection job[s]
    467466NextOMSSACreateSearchJobs=Next - Create search job[s]
    468467NextOMSSAEditParametersBeforeCreatingSearchJobs=Next - Edit parameters before search
  • trunk/client/servlet/src/org/proteios/action/file/UseSpectrumFileForMsInspectSearchExtension.java

    r4077 r4082  
    9393     * Create a form for selection of plugin.
    9494     */
    95     String pageTitle = new String("MsInspectSearch");
     95    String pageTitle = new String("MsInspectFeatureDetection");
    9696    Title title = new Title(pageTitle);
    9797    // Instruction area
    9898    TitledWindow instructionArea = new TitledWindow();
    99     String instruction = "msInspect feature finding will be performed on";
     99    String instruction = "msInspect feature detection will be performed on";
    100100    instruction += " selected spectrum files (only mzML and mzXML supported).<BR>";
    101101    instruction += "<BR>";
     
    135135    // Add 'Next' button to create search jobs
    136136    ActionLink nextSearch = getActionFactory().getActionLink(
    137       RunMsInspect.class, "NextMsInspectCreateSearchJobs");
     137      RunMsInspect.class, "NextMsInspectCreateFeatureDetectionJobs");
    138138    for (Integer spectrumFileId : spectrumFileIds)
    139139    {
     
    148148     */
    149149    RowLayout layout = getLayoutFactory().getRowLayout();
    150     layout.add(new Title("MsInspectFeatureFinding"));
     150    layout.add(new Title("MsInspectFeatureDetection"));
    151151    layout.add(instructionArea);
    152152    layout.add(form);
     
    165165     * this by adding a FileContext to the list of contexts.
    166166     */
    167     FileContext files = new FileContext("UseSpectrumFileForMsInspectSearch", "Use spectrum file(s) for msInspect feature finding",
     167    FileContext files = new FileContext("UseSpectrumFileForMsInspectSearch", "Use spectrum file(s) for msInspect feature detection",
    168168      UseSpectrumFileForMsInspectSearchExtension.class);
    169169    contexts.add(files);
  • trunk/client/servlet/src/org/proteios/action/msInspect/RunMsInspect.java

    r4074 r4082  
    7474     * Check input
    7575     */
    76     // Get the spectrum file items to use for the search
     76    // Get the spectrum file items to use for the feature detection
    7777    List<Integer> spectrumFileIds = getValidIntegerList(VSPECTRUMFILEID);
    7878    log.debug("spectrumFileIds from RunMsInspect.VSPECTRUMFILEID = " + spectrumFileIds);
     
    8585    }
    8686    /***********************************************************************
    87      * Get MsInspect search constants from Properties file
     87     * Get MsInspect feature detection constants from Properties file
    8888     */
    8989    MsInspectPropertiesFile pf = new MsInspectPropertiesFile();
     
    119119    log.debug("uploadOutputFileFlag = " + uploadOutputFileFlag);
    120120    /***********************************************************************
    121      * Get MsInspect search plugin definition
     121     * Get MsInspect feature detection plugin definition
    122122     */
    123123    DbControl dc = newDbControl();
     
    152152     * Create job
    153153     */
    154     // Get MsInspect search plugin definition
     154    // Get MsInspect feature detection plugin definition
    155155    PluginDefinition pluginDef = PluginDefinition.getByClassName(
    156156      dc, "org.proteios.plugins.RunMsInspectPlugin");
     
    173173      // Set estimated execution time to next fastest, SHORT
    174174      job.setEstimatedExecutionTime(Job.ExecutionTime.SHORT);
    175       job.setName("MsInspect Search Spectrum File: " + spectrumFile.getName());
    176       job.setDescription("MsInspect Search Spectrum File: " + spectrumFile.getName() + "[" + spectrumFile.getId() + "]");
     175      job.setName("MsInspect Feature Detection Spectrum File: " + spectrumFile.getName());
     176      job.setDescription("MsInspect Feature Detection Spectrum File: " + spectrumFile.getName() + "[" + spectrumFile.getId() + "]");
    177177      //
    178178      StringParameterType msInspectInstallPathParam = new StringParameterType();
  • trunk/plugin/src/org/proteios/plugins/RunMsInspectPlugin.java

    r4081 r4082  
    313313    timeStampStr = (String) job.getValue("timeStampStr");
    314314
    315     // Perform msInspect search using local search engine
     315    // Perform msInspect feature detection using local search engine
    316316    msInspectSearchLocal(request, response, progress, tmpDir,
    317317      msInspectInstallPath, msInspectProgramName, msInspectMemoryInMegaBytes,
     
    344344
    345345  /**
    346    * Start a job that performs an msInspect search using a locally installed
    347    * msInspect search engine.
     346   * Start a job that performs an msInspect feature detection using a locally installed
     347   * msInspect feature detection engine.
    348348   *
    349349   * @param request Request
     
    392392    File spectrumFile = factory.getById(File.class, spectrumFileId);
    393393    log.debug("spectrumFile (original) = " + spectrumFile);
    394     // Always use original spectrum filename, even if a converted file is used for msInspect search
     394    // Always use original spectrum filename, even if a converted file is used for msInspect feature detection
    395395    String originalSpectrumFilename = spectrumFile.getName();
    396396    String spectrumBaseFilename = new String(originalSpectrumFilename);
     
    416416    String msInspectInputFilePath = new String(tmpDir + "/" + msInspectInputFilename);
    417417    String spectrumPath = new String(msInspectInputFilePath);
    418     log.debug("spectrumPath for temporary file used for local msInspect search = " + spectrumPath);
     418    log.debug("spectrumPath for temporary file used for local msInspect feature detection = " + spectrumPath);
    419419    java.io.File spectrumFileTmp = new java.io.File(spectrumPath);
    420420    try
     
    435435    String msInspectOutputPath = msInspectOutputDirPath + delimiter + msInspectOutputFilename;
    436436    log.debug("msInspectOutputPath = \"" + msInspectOutputPath + "\"");
    437     // Prepare msInspect search command for use with local installation
     437    // Prepare msInspect feature detection command for use with local installation
    438438    boolean imported = false;
    439439    try
     
    457457      cmd = cmd + " " + spectrumFileTmp;
    458458      //
    459       // Execute msInspect search using local installation
     459      // Execute msInspect feature detection using local installation
    460460      //
    461461      if (isJobAborted())
     
    488488      catch (InterruptedException se)
    489489      {
    490         log.warn("InterruptedException when performing msInspect search via locally installed search engine: " + se);
     490        log.warn("InterruptedException when performing msInspect feature detection via locally installed search engine: " + se);
    491491        abort();
    492492        proc.destroy();
     
    551551      log.debug("msInspectOutputFilename = \"" + msInspectOutputFilename + "\"");
    552552      log.debug("msInspectOutputPath = \"" + msInspectOutputPath + "\"");
    553       String doneMessage = new String("msInspect search finished");
     553      String doneMessage = new String("msInspect feature detection finished");
    554554      //
    555555      doneMessage = doneMessage + "\n" + "msInspect input file: " + originalSpectrumFilename;
     
    565565        {
    566566          String description = new String(
    567             "msInspect search for " + spectrumFile.getName() + "[" + spectrumFile
     567            "msInspect feature detection for " + spectrumFile.getName() + "[" + spectrumFile
    568568              .getId() + "] using option " + "\"--findpeptides\"");
    569569          try
     
    613613      else
    614614      {
    615         err.add(new BaseException("No msInspect search could be performed"));
     615        err.add(new BaseException("No msInspect feature detection could be performed"));
    616616        response.setError(errorMessage, err);
    617617      }
     
    817817
    818818  /**
    819    * Uploads output file from locally installed msInspect search engine into
     819   * Uploads output file from locally installed msInspect feature detection engine into
    820820   * Proteios.
    821821   *
Note: See TracChangeset for help on using the changeset viewer.