File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ def state_values(self) -> dict[str, ty.Any]:
114
114
115
115
@property
116
116
def lzout (self ) -> OutputType :
117
- from pydra .utils .general import task_fields
117
+ from pydra .utils .general import get_fields
118
118
119
119
"""The output task of the node populated with lazy fields"""
120
120
if self ._lzout is not None :
121
121
return self ._lzout
122
122
lazy_fields = {}
123
- for field in task_fields (self .inputs .Outputs ):
123
+ for field in get_fields (self .inputs .Outputs ):
124
124
lazy_fields [field .name ] = lazy .LazyOutField (
125
125
node = self ,
126
126
field = field .name ,
Original file line number Diff line number Diff line change 9
9
import subprocess as sp
10
10
import pytest
11
11
from fileformats .generic import File
12
- from pydra .utils .general import task_fields
12
+ from pydra .utils .general import get_fields
13
13
from pydra .engine .submitter import Submitter
14
14
from pydra .compose import workflow , python , shell
15
15
@@ -44,7 +44,7 @@ def num_python_cache_roots(cache_path: Path) -> int:
44
44
45
45
46
46
def get_output_names (task ):
47
- return sorted (f .name for f in task_fields (task .Outputs ))
47
+ return sorted (f .name for f in get_fields (task .Outputs ))
48
48
49
49
50
50
def run_no_submitter (
You can’t perform that action at this time.
0 commit comments