Skip to content

Commit cc27f05

Browse files
author
Miguel de Val-Borro
committed
Added docstring for parse_lamda_datafile
1 parent 80dd103 commit cc27f05

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

astroquery/lamda/core.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,21 @@ def _absurl_from_url(url, base_url):
181181

182182

183183
def parse_lamda_datafile(filename):
184+
"""
185+
Read a datafile that follows the format adopted for the atomic and
186+
molecular data in the LAMDA database.
187+
188+
Parameters
189+
----------
190+
filename : str
191+
Fully qualified path of the file to read.
192+
193+
Returns
194+
-------
195+
Tuple of tables: ({rateid: Table, },
196+
Table,
197+
Table)
198+
"""
184199
with open(filename) as f:
185200
lines = f.readlines()
186201
return parse_lamda_lines(lines)

0 commit comments

Comments
 (0)