Skip to content

Commit

Permalink
Update XDR.py
Browse files Browse the repository at this point in the history
changed read offsets from True to False, retained the warning
  • Loading branch information
talagayev authored Nov 26, 2024
1 parent b66e3d2 commit e71943f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/MDAnalysis/coordinates/XDR.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _load_offsets(self):
if isinstance(e, PermissionError) or e.errno == errno.EROFS:
warnings.warn(f"Cannot write lock/offset file in same location as "
f"{self.filename}. Using slow offset calculation.")
self._read_offsets(store=True)
self._read_offsets(store=False)
return
else:
raise
Expand Down

0 comments on commit e71943f

Please sign in to comment.