File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11"""AiiDA plugin that run Python function on remote computers."""
22
3- __version__ = "0.1.5 "
3+ __version__ = "0.1.6 "
44
55from .calculations import PythonJob
66from .launch import prepare_pythonjob_inputs
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
4243def test_function_custom_outputs (fixture_localhost ):
You can’t perform that action at this time.
0 commit comments