Skip to content

Commit 60d992a

Browse files
committed
Release 0.1.6
1 parent 4a0a8ea commit 60d992a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/aiida_pythonjob/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""AiiDA plugin that run Python function on remote computers."""
22

3-
__version__ = "0.1.5"
3+
__version__ = "0.1.6"
44

55
from .calculations import PythonJob
66
from .launch import prepare_pythonjob_inputs

src/aiida_pythonjob/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ def prepare_pythonjob_inputs(
6666
**kwargs,
6767
}
6868
if process_label:
69-
inputs[process_label] = process_label
69+
inputs["process_label"] = process_label
7070
return inputs

tests/test_pythonjob.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ def add(x, y):
3232
inputs = prepare_pythonjob_inputs(
3333
add,
3434
function_inputs={"x": 1, "y": 2},
35+
process_label="add",
3536
)
3637
result, node = run_get_node(PythonJob, **inputs)
3738

3839
assert result["result"].value == 3
39-
assert node.process_label == "PythonJob<add>"
40+
assert node.process_label == "add"
4041

4142

4243
def test_function_custom_outputs(fixture_localhost):

0 commit comments

Comments
 (0)