We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9170a commit 1ae12e3Copy full SHA for 1ae12e3
1 file changed
seqchromloader/utils.py
@@ -84,7 +84,7 @@ def stats(self, chrom, type='mean', exact=True):
84
elif type == 'min':
85
return float(np.min(arr))
86
elif type == 'std':
87
- return self.bw.values(chrom, missing=np.nan, bins=1, exact=exact, summary=type)[0].item()
+ return float(np.std(arr))
88
else:
89
raise NotImplementedError(f"stat {type} not implemented for memmap backend")
90
0 commit comments