We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8594c9 commit d805b57Copy full SHA for d805b57
2 files changed
enformer_pytorch/data.py
@@ -83,9 +83,12 @@ def __getitem__(self, ind):
83
84
if exists(self.shift_augs):
85
min_shift, max_shift = self.shift_augs
86
+ max_shift += 1
87
+
88
min_shift = max(start + min_shift, 0) - start
89
max_shift = min(end + max_shift, chromosome_length) - end
- rand_shift = randrange(min_shift, max_shift + 1)
90
91
+ rand_shift = randrange(min_shift, max_shift)
92
start += rand_shift
93
end += rand_shift
94
setup.py
@@ -4,7 +4,7 @@
4
name = 'enformer-pytorch',
5
packages = find_packages(exclude=[]),
6
include_package_data = True,
7
- version = '0.2.4',
+ version = '0.2.6',
8
license='MIT',
9
description = 'Enformer - Pytorch',
10
author = 'Phil Wang',
0 commit comments