Skip to content

Commit

Permalink
#537 related code from test has been moved.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Dec 29, 2023
1 parent 70e35a2 commit 998c2a7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 219 deletions.
20 changes: 0 additions & 20 deletions arekit/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,3 @@ def progress_bar_iter(iterable, desc="", unit='it'):
leave=True,
ncols=120,
unit=unit)


def get_default_download_dir():
""" Refered to NLTK toolkit approach
https://github.com/nltk/nltk/blob/8e771679cee1b4a9540633cc3ea17f4421ffd6c0/nltk/downloader.py#L1051
"""

# On Windows, use %APPDATA%
if sys.platform == "win32" and "APPDATA" in os.environ:
homedir = os.environ["APPDATA"]

# Otherwise, install in the user's home directory.
else:
homedir = os.path.expanduser("~/")
if homedir == "~/":
raise ValueError("Could not find a default download directory")

return os.path.join(homedir, ".arekit")


88 changes: 0 additions & 88 deletions tests/contrib/networks/indices_feature.py

This file was deleted.

35 changes: 0 additions & 35 deletions tests/contrib/networks/labels.py

This file was deleted.

76 changes: 0 additions & 76 deletions tests/contrib/networks/utils.py

This file was deleted.

0 comments on commit 998c2a7

Please sign in to comment.