Beispiel #1
0
 public int initSequentialDesign() throws InPUTException {
   writeResultsToSPOTProjectCache();
   initSPOTSequentialDesign();
   saveSPOTWorkspace();
   currentDES = initializeDesign();
   return currentDES.size();
 }
Beispiel #2
0
 public int initInitialDesign() throws InPUTException {
   createROIFile();
   initSPOTConfFileName();
   initSPOTinitialDesign();
   retrieveNextDesign();
   saveSPOTWorkspace();
   currentDES = initializeDesign();
   return currentDES.size();
 }
Beispiel #3
0
  public void feedbackSpot(IDesign result) throws InPUTException {
    if (noResultsSoFar) {
      String fileId = fileId(investigationId, SPOTQ.FILE_RES_ENDING);
      if (!new File(fileId).exists())
        createFile(SPOTQ.FILE_RES_ENDING, currentRES, investigationId);
      noResultsSoFar = false;
    }
    SpotResult spotResult = currentRES.append(result, currentDES);

    if (isFileMode()) feedbackResultInRESFile(spotResult);

    saveSPOTWorkspace();
  }