mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
added a path for the data resources. not all users will be working in the GPy directory.
This commit is contained in:
parent
5f3b6bd204
commit
fca3287e9c
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ overide_manual_authorize=False
|
|||
neil_url = 'http://staffwww.dcs.shef.ac.uk/people/N.Lawrence/dataset_mirror/'
|
||||
|
||||
# Read data resources from json file.
|
||||
json_data=open('data_resources.json').read()
|
||||
path = os.path.join(os.path.dirname(__file__), 'data_resources.json')
|
||||
json_data=open(path).read()
|
||||
data_resources = json.loads(json_data)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue