Skip to content

Commit 914cc87

Browse files
committed
add dtype
1 parent 7c88363 commit 914cc87

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ ignore =
5656
B023
5757
D401
5858
B028
59+
C416
5960
exclude = .git,__pycache__,build,docs/_build,dist,ALLCools/sandbox,
6061
per-file-ignores =
6162
tests/*: D

ALLCools/integration/seurat_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ def integrate(self, key_correct, row_normalize=True, n_components=30, k_weight=1
732732
for xx in self.alignments:
733733
print(xx)
734734
corrected = self.transform(
735-
data=np.array(corrected),
735+
data=np.array(corrected, dtype="object"),
736736
ref=xx[0],
737737
qry=xx[1],
738738
npc=n_components,

0 commit comments

Comments
 (0)