Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from BodenmillerGroup/bugfix-windows
Browse files Browse the repository at this point in the history
Fixes issue #8 that makes imctools Windows incompatible.
  • Loading branch information
votti authored Sep 25, 2017
2 parents 248ba15 + 1f7344b commit f3125ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imctools/io/mcdparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def retrieve_mcd_xml(self, start_str='<MCDSchema', stop_str='</MCDSchema>'):
:param start_str:
:param stop_str:
"""
mm = mmap.mmap(self._metafh.fileno(), 0, prot=mmap.PROT_READ)
mm = mmap.mmap(self._metafh.fileno(), 0, access=mmap.ACCESS_READ)

xml_start = mm.rfind(start_str.encode('utf-8'))

Expand Down

0 comments on commit f3125ac

Please sign in to comment.