Commits

Brent Pedersen committed 438c24e

only require r+ for memory map.

  • Participants
  • Parent commits f75906f

Comments (0)

Files changed (3)

File pyfasta/CHANGELOG.txt

 Changes
 =======
+0.3.9
+-----
+* only require 'r' (not r+) for memory map.
+
 0.3.8
 -----
 * clean up logic for mixing inplace/non-inplace flattened files.

File pyfasta/pyfasta/records.py

 
     @classmethod
     def modify_flat(klass, flat_file):
-        mm = np.memmap(flat_file, dtype="S1", mode="r+")
+        mm = np.memmap(flat_file, dtype="S1", mode="r")
         return mm
 
     def getdata(self, islice):

File pyfasta/setup.py

 from setuptools import setup, find_packages
 
 
-version = '0.3.8'
+version = '0.3.9'
 
 setup(name='pyfasta',
       version=version,