Checks if path is a directory.
Checks if path is a file.
Parses a data path, replacing $DATA with the path to SNUDDA_DATA set by environment variable.
path (str) – Path to modify
Checks if path exists.
Simplifies path, replacing any occurance of SNUDDA_DATA in the path with $SNUDDA_DATA.
path (str) – Path to be simplified
Contents: