@@ -42,9 +42,9 @@ def __init__(self): # type: () -> None
42
42
self .build_job_script = None # type: Callable[[List[str]], Text]
43
43
self .debug = False # type: bool
44
44
45
- # One of None , "shallow ", "deep "
46
- # Will be default None for CWL v1.1
47
- self .loadListing = "deep " # type: Union[None, str]
45
+ # One of "no_listing" , "shallow_listing ", "deep_listing "
46
+ # Will be default "no_listing" for CWL v1.1
47
+ self .loadListing = "deep_listing " # type: Union[None, str]
48
48
49
49
def bind_input (self , schema , datum , lead_pos = None , tail_pos = None ):
50
50
# type: (Dict[Text, Any], Any, Union[int, List[int]], List[int]) -> List[Dict[Text, Any]]
@@ -148,8 +148,8 @@ def _capture_files(f):
148
148
149
149
if schema ["type" ] == "Directory" :
150
150
ll = self .loadListing or (binding and binding .get ("loadListing" ))
151
- if ll :
152
- get_listing (self .fs_access , datum , (ll == "deep " ))
151
+ if ll and ll != "no_listing" :
152
+ get_listing (self .fs_access , datum , (ll == "deep_listing " ))
153
153
self .files .append (datum )
154
154
155
155
# Position to front of the sort key
0 commit comments