get_sile¶
-
sisl.io.
get_sile
(file, *args, **kwargs)[source]¶ Retrieve an object from the global lookup table via filename and the extension
Internally this is roughly equivalent to
get_sile_class(...)()
.Parameters: file : str
cls : class
In case there are several files with similar file-suffixes you may query the exact base-class that should be chosen. If there are several files with similar file-endings this function returns a random one.