Skip to content

Commit 1ae12e3

Browse files
authored
Fix std calculation in utils.py
1 parent 7c9170a commit 1ae12e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

seqchromloader/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def stats(self, chrom, type='mean', exact=True):
8484
elif type == 'min':
8585
return float(np.min(arr))
8686
elif type == 'std':
87-
return self.bw.values(chrom, missing=np.nan, bins=1, exact=exact, summary=type)[0].item()
87+
return float(np.std(arr))
8888
else:
8989
raise NotImplementedError(f"stat {type} not implemented for memmap backend")
9090

0 commit comments

Comments
 (0)