Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Commit 3146f76

Browse files
committed
Add location of source
1 parent 82fc550 commit 3146f76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/src/java/nl/esciencecenter/e3dchem/python/PythonWrapperNodeModel.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ protected PythonKernelOptions getKernelOptions() {
6969
return options.forSerializationOptions(options.getSerializationOptions().forSerializerId(serializerId));
7070
}
7171

72+
// Below has been copied from KNIME Python node code (https://github.com/knime/knime-python/blob/analytics-platform/4.3.0/org.knime.python2.nodes/src/org/knime/python2/nodes/PythonNodeModel.java) and
73+
// adjusted.
7274
protected PythonKernel getNextKernelFromQueue(final PythonCancelable cancelable)
7375
throws PythonCanceledExecutionException, PythonIOException {
7476
return getNextKernelFromQueue(Collections.emptySet(), Collections.emptySet(), cancelable);
@@ -91,7 +93,7 @@ protected PythonKernel getNextKernelFromQueue(final Set<PythonModuleSpec> requir
9193
}
9294

9395
public BufferedDataTable[] execute(BufferedDataTable[] inData, ExecutionContext exec) throws Exception {
94-
// Below has been copied from Knime Python node source code and
96+
// Below has been copied from KNIME Python node source code (https://github.com/knime/knime-python/blob/analytics-platform/4.3.0/org.knime.python2.nodes/src/org/knime/python2/nodes/source/PythonSourceNodeModel.java) and
9597
// adjusted.
9698
final PythonExecutionMonitorCancelable cancelable = new PythonExecutionMonitorCancelable(exec);
9799
try (final PythonKernel kernel = getNextKernelFromQueue(cancelable)) {

0 commit comments

Comments
 (0)