Skip to content

Commit

Permalink
Remove legacy project file extensions from config (#1543)
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Oct 17, 2023
1 parent 8331c2b commit e3ebe33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions asreview/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
DEFAULT_N_PRIOR_INCLUDED = 1
DEFAULT_N_PRIOR_EXCLUDED = 1

LEGACY_STATE_EXTENSIONS = [".h5", ".hdf5", ".he5", ".json"]

COLUMN_DEFINITIONS = {
# included
"included": [
Expand Down
2 changes: 1 addition & 1 deletion asreview/state/legacy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from contextlib import contextmanager
from pathlib import Path

from asreview.config import LEGACY_STATE_EXTENSIONS
LEGACY_STATE_EXTENSIONS = [".h5", ".hdf5", ".he5", ".json"]


def _get_state_class(fp):
Expand Down

0 comments on commit e3ebe33

Please sign in to comment.