Skip to content

Commit e005038

Browse files
committed
critical bugfix and version bump
1 parent 749ab38 commit e005038

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ir_datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ def main_cli():
4343
import sys
4444
main(sys.argv[1:])
4545

46-
__version__ = "0.3.2" # NOTE: keep this in sync with setup.py
46+
__version__ = "0.3.3" # NOTE: keep this in sync with setup.py

ir_datasets/util/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def _migrate(self, fn):
181181
def wrapped(*args, **kwargs):
182182
if not self._state == 'OK':
183183
self._version_file.parent.mkdir(parents=True, exist_ok=True)
184-
if not self._version_file.exists() or not self._version_file.open('rt').read() != self._version:
184+
if not self._version_file.exists() or self._version_file.open('rt').read() != self._version:
185185
self._state = 'IN_PROGRESS'
186186
paths_to_remove = [f for f in self._affected_files if os.path.exists(f)]
187187
if paths_to_remove:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name="ir_datasets",
9-
version="0.3.2", # NOTE: keep this in sync with ir_datasets/__init__.py
9+
version="0.3.3", # NOTE: keep this in sync with ir_datasets/__init__.py
1010
author="Sean MacAvaney",
1111
author_email="sean@ir.cs.georgetown.com",
1212
description="provides a common interface to many IR ad-hoc ranking benchmarks, training datasets, etc.",

0 commit comments

Comments
 (0)