Skip to content

Commit

Permalink
Load Remote Data Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Blank committed Sep 14, 2021
1 parent 4b8b8ca commit 678036d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pymoo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ class Config:

@classmethod
def data(cls):
repo = "master"
if 'rc' in __version__:
repo = 'release'
elif 'dev' in __version__:
repo = 'develop'

return f"https://raw.githubusercontent.com/anyoptimization/pymoo/{repo}/pymoo/data/"
return "http://release.pymoo.org/_static/data/"

# repo = "master"
# if 'rc' in __version__:
# repo = 'release'
# elif 'dev' in __version__:
# repo = 'develop'
#
# return f"https://raw.githubusercontent.com/anyoptimization/pymoo/{repo}/pymoo/data"


# returns the directory to be used for imports
Expand Down

0 comments on commit 678036d

Please sign in to comment.