File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
2
import os
3
3
import sys
4
- import attrs
5
4
from pathlib import Path
6
5
import subprocess as sp
7
6
import typing as ty
17
16
from fileformats .core import FileSet
18
17
from fileformats .medimage_mrtrix3 import ImageFormat , ImageIn , ImageOut , Tracks
19
18
from pydra .design import shell
19
+ from pydra .design .base import NO_DEFAULT
20
20
from pydra .utils .typing import MultiInputObj
21
21
from pydra .utils import add_exc_note
22
22
from pydra .engine .helpers import list_fields
@@ -398,7 +398,7 @@ def get_value(type_):
398
398
raise NotImplementedError
399
399
return value
400
400
401
- if field .default is not attrs . NOTHING :
401
+ if field .default is not NO_DEFAULT :
402
402
value = field .default
403
403
elif field .allowed_values :
404
404
value = repr (field .allowed_values [0 ])
You can’t perform that action at this time.
0 commit comments