Skip to content

Commit 4ce63ad

Browse files
committed
generator to list
1 parent 76ac6d9 commit 4ce63ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-cgprna/run_cgprna/map.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ def map_seq_files(args):
151151

152152

153153
def find(pattern, path):
154-
return (
154+
return [
155155
os.path.join(root, name)
156156
for root, _, files in os.walk(path) if files
157157
for name in files if fnmatch.fnmatch(name, pattern)
158-
)
158+
]

0 commit comments

Comments
 (0)