ai4materials.utils.utils_config module¶
-
class
ai4materials.utils.utils_config.
SSH
(hostname='172.17.0.3', username='tutorial', port=22, key_file='/home/beaker/docker.openmpi/ssh/id_rsa.mpi', password=None)[source]¶ Bases:
object
SSH class to connect to the cluster to perform a calculation.
Code author: Emre Ahmetcik <ahmetcik@fhi-berlin.mpg.de>
-
ai4materials.utils.utils_config.
get_data_filename
(resource, package='ai4materials')[source]¶ Rewrite of pkgutil.get_data() that return the file path.
Taken from: https://stackoverflow.com/questions/5003755/how-to-use-pkgutils-get-data-with-csv-reader-in-python