@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
45
45
self .moldict_path = os .path .join (self .cache_location ,
46
46
"molecules.json" )
47
47
48
- def _get_molfile (self , mol , cache = True , timeout = None ):
48
+ def _get_molfile (self , mol , * , cache = True , timeout = None ):
49
49
"""
50
50
"""
51
51
if mol not in self .molecule_dict :
@@ -65,7 +65,7 @@ def download_molfile(self, mol, outfilename):
65
65
with open (outfilename , 'w' ) as f :
66
66
f .write (molreq .text )
67
67
68
- def query (self , mol , return_datafile = False , cache = True , timeout = None ):
68
+ def query (self , mol , * , return_datafile = False , cache = True , timeout = None ):
69
69
"""
70
70
Query the LAMDA database.
71
71
@@ -107,7 +107,7 @@ def query(self, mol, return_datafile=False, cache=True, timeout=None):
107
107
tables = parse_lamda_lines (datafile )
108
108
return tables
109
109
110
- def get_molecules (self , cache = True ):
110
+ def get_molecules (self , * , cache = True ):
111
111
"""
112
112
Scrape the list of valid molecules
113
113
"""
@@ -152,7 +152,7 @@ def molecule_dict(self):
152
152
153
153
return self ._molecule_dict
154
154
155
- def _find_datfiles (self , url , base_url , raise_for_status = False ):
155
+ def _find_datfiles (self , url , base_url , * , raise_for_status = False ):
156
156
157
157
myurl = _absurl_from_url (url , base_url )
158
158
if 'http' not in myurl :
0 commit comments