Skip to content

Commit e0551c0

Browse files
committed
Update version and Python version
1 parent f119261 commit e0551c0

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Detailed Package Install Instructions:
5555

5656
pysnptools has the following dependencies:
5757

58-
python 3.7+ or python 2.7+
58+
python 3.7 or 3.8 (on MacOS, just 3.7)
5959

6060
Packages:
6161

pysnptools/snpreader/bed.py

+19
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,25 @@ def _read(self, iid_index_or_none, sid_index_or_none, order, dtype, force_python
347347
logging.basicConfig(level=logging.INFO)
348348
import os
349349

350+
if False:
351+
352+
filename = 'M:/deldir/genbgen/good/merged_487400x4840000.bgen'
353+
354+
import tracemalloc
355+
import logging
356+
import os
357+
logging.basicConfig(level=logging.INFO)
358+
from pysnptools.distreader import Bgen
359+
tracemalloc.start()
360+
print(os.path.getsize(filename))
361+
bgen = Bgen(filename)
362+
print(bgen.shape)
363+
current, peak = tracemalloc.get_traced_memory()
364+
print(f"Current memory usage is {current / 10**6}MB; Peak was {peak / 10**6}MB")
365+
tracemalloc.stop()
366+
367+
368+
350369
if False: #Look for example Bed files with missing data
351370
from pysnptools.util._example_file import pysnptools_hashdown
352371
from pysnptools.util import example_file

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import numpy
88

99
# Version number
10-
version = '0.4.20'
10+
version = '0.4.21'
1111

1212
def readme():
1313
with open('README.md') as f:

0 commit comments

Comments
 (0)