We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b183b commit 4cfc6c9Copy full SHA for 4cfc6c9
nipype/interfaces/io.py
@@ -866,10 +866,11 @@ def _list_outputs(self):
866
raise ValueError(msg)
867
868
outputs = {}
869
+
870
# get list of all files in s3 bucket
871
conn = boto.connect_s3(anon=self.inputs.anon)
872
bkt = conn.get_bucket(self.inputs.bucket)
- bkt_files = list(k.key for k in bkt.list())
873
+ bkt_files = list(k.key for k in bkt.list(prefix=self.inputs.bucket_path))
874
875
# keys are outfields, args are template args for the outfield
876
for key, args in list(self.inputs.template_args.items()):
0 commit comments