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 11#!/usr/bin/env python3
22import os
33import sys
4- import attrs
54from pathlib import Path
65import subprocess as sp
76import typing as ty
1716from fileformats .core import FileSet
1817from fileformats .medimage_mrtrix3 import ImageFormat , ImageIn , ImageOut , Tracks
1918from pydra .design import shell
19+ from pydra .design .base import NO_DEFAULT
2020from pydra .utils .typing import MultiInputObj
2121from pydra .utils import add_exc_note
2222from pydra .engine .helpers import list_fields
@@ -398,7 +398,7 @@ def get_value(type_):
398398 raise NotImplementedError
399399 return value
400400
401- if field .default is not attrs . NOTHING :
401+ if field .default is not NO_DEFAULT :
402402 value = field .default
403403 elif field .allowed_values :
404404 value = repr (field .allowed_values [0 ])
You can’t perform that action at this time.
0 commit comments