You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnewHtmlView(HtmlString.of("Either the legacy SSP module has not been installed, or it has already been removed"));
72
-
else
73
-
returnnewHtmlView(HtmlString.of("This allows an admin to copy any primers stored in the original SSP Assay module into the new genotyping module. Any data has already been copied. Do you want to continue?"));
@@ -134,6 +64,13 @@ public ApiResponse execute(CacheAnalysesForm form, BindException errors)
134
64
returnnull;
135
65
}
136
66
67
+
if (!protocol.getContainer().getContainerFor(ContainerType.DataType.tabParent).equals(getContainer().getContainerFor(ContainerType.DataType.tabParent)))
68
+
{
69
+
errors.reject(ERROR_MSG, "Protocol is from the wrong container: " + form.getProtocolId());
70
+
logger.error("CacheAnalysesAction targeted a protocol from the wrong container: {}, from {}, in the container: {}", form.getProtocolId(), protocol.getContainer().getPath(), getContainer().getPath());
Pair<List<Long>, List<Long>> ret = GenotypeAssaysManager.get().cacheAnalyses(getViewContext(), protocol, alleleNames);
139
76
resultProperties.put("runsCreated", ret.first);
@@ -214,6 +151,13 @@ public ApiResponse execute(CacheAnalysesForm form, BindException errors)
214
151
returnnull;
215
152
}
216
153
154
+
if (!protocol.getContainer().getContainerFor(ContainerType.DataType.tabParent).equals(getContainer().getContainerFor(ContainerType.DataType.tabParent)))
155
+
{
156
+
errors.reject(ERROR_MSG, "Protocol is from the wrong container: " + form.getProtocolId());
157
+
logger.error("CacheHaplotypesAction targeted a protocol from the wrong container: {}, from {}, in the container: {}", form.getProtocolId(), protocol.getContainer().getPath(), getContainer().getPath());
158
+
returnnull;
159
+
}
160
+
217
161
Pair<List<Long>, List<Long>> ret = GenotypeAssaysManager.get().cacheHaplotypes(getViewContext(), protocol, newJSONArray(form.getJson()));
0 commit comments