Changeset 4082
- Timestamp:
- Dec 17, 2010, 10:15:37 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/locale/en/dictionary
r4073 r4082 424 424 MsFile=MS File 425 425 MsInspect=msInspect 426 MsInspectFeatureFinding=msInspect Feature Finding 427 MsInspectSearch=msInspect Search 426 MsInspectFeatureDetection=msInspect Feature Detection 428 427 MwInDaltons=Molecular weight (Da) 429 428 MyFiles=My Files … … 464 463 NextMascotEditParametersBeforeCreatingSearchJobs=Next - Edit parameters before search 465 464 Next=Next 466 NextMsInspectCreate SearchJobs=Next - Create searchjob[s]465 NextMsInspectCreateFeatureDetectionJobs=Next - Create feature detection job[s] 467 466 NextOMSSACreateSearchJobs=Next - Create search job[s] 468 467 NextOMSSAEditParametersBeforeCreatingSearchJobs=Next - Edit parameters before search -
trunk/client/servlet/src/org/proteios/action/file/UseSpectrumFileForMsInspectSearchExtension.java
r4077 r4082 93 93 * Create a form for selection of plugin. 94 94 */ 95 String pageTitle = new String("MsInspect Search");95 String pageTitle = new String("MsInspectFeatureDetection"); 96 96 Title title = new Title(pageTitle); 97 97 // Instruction area 98 98 TitledWindow instructionArea = new TitledWindow(); 99 String instruction = "msInspect feature findingwill be performed on";99 String instruction = "msInspect feature detection will be performed on"; 100 100 instruction += " selected spectrum files (only mzML and mzXML supported).<BR>"; 101 101 instruction += "<BR>"; … … 135 135 // Add 'Next' button to create search jobs 136 136 ActionLink nextSearch = getActionFactory().getActionLink( 137 RunMsInspect.class, "NextMsInspectCreate SearchJobs");137 RunMsInspect.class, "NextMsInspectCreateFeatureDetectionJobs"); 138 138 for (Integer spectrumFileId : spectrumFileIds) 139 139 { … … 148 148 */ 149 149 RowLayout layout = getLayoutFactory().getRowLayout(); 150 layout.add(new Title("MsInspectFeature Finding"));150 layout.add(new Title("MsInspectFeatureDetection")); 151 151 layout.add(instructionArea); 152 152 layout.add(form); … … 165 165 * this by adding a FileContext to the list of contexts. 166 166 */ 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", 168 168 UseSpectrumFileForMsInspectSearchExtension.class); 169 169 contexts.add(files); -
trunk/client/servlet/src/org/proteios/action/msInspect/RunMsInspect.java
r4074 r4082 74 74 * Check input 75 75 */ 76 // Get the spectrum file items to use for the search76 // Get the spectrum file items to use for the feature detection 77 77 List<Integer> spectrumFileIds = getValidIntegerList(VSPECTRUMFILEID); 78 78 log.debug("spectrumFileIds from RunMsInspect.VSPECTRUMFILEID = " + spectrumFileIds); … … 85 85 } 86 86 /*********************************************************************** 87 * Get MsInspect searchconstants from Properties file87 * Get MsInspect feature detection constants from Properties file 88 88 */ 89 89 MsInspectPropertiesFile pf = new MsInspectPropertiesFile(); … … 119 119 log.debug("uploadOutputFileFlag = " + uploadOutputFileFlag); 120 120 /*********************************************************************** 121 * Get MsInspect searchplugin definition121 * Get MsInspect feature detection plugin definition 122 122 */ 123 123 DbControl dc = newDbControl(); … … 152 152 * Create job 153 153 */ 154 // Get MsInspect searchplugin definition154 // Get MsInspect feature detection plugin definition 155 155 PluginDefinition pluginDef = PluginDefinition.getByClassName( 156 156 dc, "org.proteios.plugins.RunMsInspectPlugin"); … … 173 173 // Set estimated execution time to next fastest, SHORT 174 174 job.setEstimatedExecutionTime(Job.ExecutionTime.SHORT); 175 job.setName("MsInspect SearchSpectrum File: " + spectrumFile.getName());176 job.setDescription("MsInspect SearchSpectrum 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() + "]"); 177 177 // 178 178 StringParameterType msInspectInstallPathParam = new StringParameterType(); -
trunk/plugin/src/org/proteios/plugins/RunMsInspectPlugin.java
r4081 r4082 313 313 timeStampStr = (String) job.getValue("timeStampStr"); 314 314 315 // Perform msInspect searchusing local search engine315 // Perform msInspect feature detection using local search engine 316 316 msInspectSearchLocal(request, response, progress, tmpDir, 317 317 msInspectInstallPath, msInspectProgramName, msInspectMemoryInMegaBytes, … … 344 344 345 345 /** 346 * Start a job that performs an msInspect searchusing a locally installed347 * msInspect searchengine.346 * Start a job that performs an msInspect feature detection using a locally installed 347 * msInspect feature detection engine. 348 348 * 349 349 * @param request Request … … 392 392 File spectrumFile = factory.getById(File.class, spectrumFileId); 393 393 log.debug("spectrumFile (original) = " + spectrumFile); 394 // Always use original spectrum filename, even if a converted file is used for msInspect search394 // Always use original spectrum filename, even if a converted file is used for msInspect feature detection 395 395 String originalSpectrumFilename = spectrumFile.getName(); 396 396 String spectrumBaseFilename = new String(originalSpectrumFilename); … … 416 416 String msInspectInputFilePath = new String(tmpDir + "/" + msInspectInputFilename); 417 417 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); 419 419 java.io.File spectrumFileTmp = new java.io.File(spectrumPath); 420 420 try … … 435 435 String msInspectOutputPath = msInspectOutputDirPath + delimiter + msInspectOutputFilename; 436 436 log.debug("msInspectOutputPath = \"" + msInspectOutputPath + "\""); 437 // Prepare msInspect searchcommand for use with local installation437 // Prepare msInspect feature detection command for use with local installation 438 438 boolean imported = false; 439 439 try … … 457 457 cmd = cmd + " " + spectrumFileTmp; 458 458 // 459 // Execute msInspect searchusing local installation459 // Execute msInspect feature detection using local installation 460 460 // 461 461 if (isJobAborted()) … … 488 488 catch (InterruptedException se) 489 489 { 490 log.warn("InterruptedException when performing msInspect searchvia locally installed search engine: " + se);490 log.warn("InterruptedException when performing msInspect feature detection via locally installed search engine: " + se); 491 491 abort(); 492 492 proc.destroy(); … … 551 551 log.debug("msInspectOutputFilename = \"" + msInspectOutputFilename + "\""); 552 552 log.debug("msInspectOutputPath = \"" + msInspectOutputPath + "\""); 553 String doneMessage = new String("msInspect searchfinished");553 String doneMessage = new String("msInspect feature detection finished"); 554 554 // 555 555 doneMessage = doneMessage + "\n" + "msInspect input file: " + originalSpectrumFilename; … … 565 565 { 566 566 String description = new String( 567 "msInspect searchfor " + spectrumFile.getName() + "[" + spectrumFile567 "msInspect feature detection for " + spectrumFile.getName() + "[" + spectrumFile 568 568 .getId() + "] using option " + "\"--findpeptides\""); 569 569 try … … 613 613 else 614 614 { 615 err.add(new BaseException("No msInspect searchcould be performed"));615 err.add(new BaseException("No msInspect feature detection could be performed")); 616 616 response.setError(errorMessage, err); 617 617 } … … 817 817 818 818 /** 819 * Uploads output file from locally installed msInspect searchengine into819 * Uploads output file from locally installed msInspect feature detection engine into 820 820 * Proteios. 821 821 *
Note: See TracChangeset
for help on using the changeset viewer.