使用

为了在命令行中便捷地使用MLatom,可以先为其设置一个别名 mlatom

alias mlatom="[path to the directory with MLatom installation with files such as MLatom.py, etc.]/shell_cmd.py"

要使用MLatom PyAPI,只需将其作为一个Python模块导入

import mlatom as ml

如果在非默认Python环境中安装了MLatom,您可能需要更新PYTHONPATH环境变量:

export PYTHONPATH=${PYTHONPATH}:[the dirname where the folder of MLatom installation are]