Skip to content

Commit a7f55b7

Browse files
committed
quick bug fix for genome_read error
1 parent f5ce711 commit a7f55b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scprinter/genome.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ def fetch_bias(self):
216216
processor=giverightstothegroup,
217217
progressbar=True,
218218
)
219-
219+
if not isinstance(file, list):
220+
file = [file]
220221
for f in file:
221222
if ".h5" in f:
222223
return str(f)

0 commit comments

Comments
 (0)