diff --git a/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/IndexBarcodeToSampleAutoAssigner.java b/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/IndexBarcodeToSampleAutoAssigner.java index 5bf3b92f..b4dbadeb 100644 --- a/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/IndexBarcodeToSampleAutoAssigner.java +++ b/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/IndexBarcodeToSampleAutoAssigner.java @@ -379,7 +379,7 @@ private Map setAssignedIndicesDataRecordFieldValues(DataRecord i waterVolume = autoHelper.getVolumeOfWater(adapterStartConc, minVolInAdapterPlate, targetAdapterConc, maxPlateVolume, sampleType, isCrisprOrAmpliconSeq); } Double actualTargetAdapterConc = adapterStartConc / ((waterVolume + adapterVolume) / adapterVolume); - setUpdatedIndexAssignmentConfigVol(indexAssignmentConfig, adapterVolume); + //setUpdatedIndexAssignmentConfigVol(indexAssignmentConfig, adapterVolume); Map indexAssignmentValues = new HashMap<>(); indexAssignmentValues.put("IndexTag", indexTag); @@ -503,7 +503,7 @@ private void assignIndicesToSamples(List indexAssignmentProtocolReco } } setLastIndexUsed(indexAssignmentConfigs, positionOfLastUsedIndex, updatedLastIndexUsed); - checkIndexAssignmentsForDepletedAdapters(indexAssignmentConfigs); + //checkIndexAssignmentsForDepletedAdapters(indexAssignmentConfigs); clientCallback.displayInfo(String.format("You need to use following adapter plates for this experiment:\n%s", StringUtils.join(indexAssignmentConfigPlatesToUse, "\n"))); activeTask.getTask().getTaskOptions().put("_INDEXES_AUTO_ASIGNED", ""); } diff --git a/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/ManualIndexAssignmentHandler.java b/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/ManualIndexAssignmentHandler.java index 5fd488ee..83b44d17 100644 --- a/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/ManualIndexAssignmentHandler.java +++ b/src/main/java/com/velox/sloan/cmo/workflows/kapalibrary/ManualIndexAssignmentHandler.java @@ -97,7 +97,7 @@ public PluginResult run() throws ServerException, RemoteException { minAdapterVolInPlate, maxPlateVolume, plateSize, sampleType, isTCRseq, species, aliquotRecipe); logInfo("Value of setUpdatedIndexAssignmentStatus is: " + setUpdatedIndexAssignmentStatus); - checkIndexAssignmentsForDepletedAdapters(activeIndexAssignmentConfigs); + //checkIndexAssignmentsForDepletedAdapters(activeIndexAssignmentConfigs); if (!setUpdatedIndexAssignmentStatus) { String errMsg = String.format("The manual adapter assignment went wrong, 3 possible scenarios (if TCRseq application 2 & 3 apply):\n" + "1) No Active record found for Index ID. Please double check to avoid discrepancies.\n" + @@ -112,7 +112,7 @@ public PluginResult run() throws ServerException, RemoteException { minAdapterVolInPlate, maxPlateVolume, plateSize, sampleType, isTCRseq, species, aliquotRecipe); logInfo("Value of setUpdatedIndexAssignmentStatus is: " + setUpdatedIndexAssignmentStatus); - checkIndexAssignmentsForDepletedAdapters(activeIndexAssignmentConfigs); + //checkIndexAssignmentsForDepletedAdapters(activeIndexAssignmentConfigs); if (!setUpdatedIndexAssignmentStatus) { String errMsg = String.format("The manual adapter assignment went wrong, 3 possible scenarios (if TCRseq application 2 & 3 apply):\n" + "1) No Active record found for Index ID. Please double check to avoid discrepancies.\n" + @@ -222,7 +222,7 @@ private boolean setUpdatedIndexAssignmentValues(List indexAssignment Double actualTargetAdapterConc = adapterStartConc / ((waterVolume + adapterVolume) / adapterVolume); //Double adapterConcentration = autohelper.getAdapterConcentration(indexConfig, adapterVolume, waterVolume); - setUpdatedIndexAssignmentConfigVol(indexConfig, adapterVolume); + //setUpdatedIndexAssignmentConfigVol(indexConfig, adapterVolume); indexBarcodeRec.setDataField("BarcodePlateID", indexConfig.getStringVal("AdapterPlateId", user), user); indexBarcodeRec.setDataField("IndexRow", adapterSourceRow, user); indexBarcodeRec.setDataField("IndexCol", adapterSourceCol, user);