Skip to content

Commit 1ec0ffc

Browse files
committed
[terminologies] remove init from Terminologies, add default url for load
1 parent ccc28d0 commit 1ec0ffc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

odml/terminology.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ def cache_load(url):
6565
class Terminologies(dict):
6666
loading = {}
6767

68-
def __init__(self):
69-
from_cache()
70-
71-
def load(self, url):
68+
def load(self, url="http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml"):
7269
"""
7370
load and cache a terminology-url
7471

0 commit comments

Comments
 (0)