serpentTools.data.getFile¶
-
serpentTools.data.
getFile
(path)¶ Retrieve the path to one of the reference or example files
Relies on the environment variable
SERPENT_TOOLS_DATA
to find the data files.- Parameters
path (str) – The name of the file without any additional directory information
- Returns
Path to a data file that can be read with one of the readers or with
serpentTools.read()
- Return type
- Raises
IOError – If no match for
path
exists