schrodinger.utils.install_scripts module

Python code used in the Maestro Install Scripts panel. Note that the panel itself is in C++.

Copyright Schrodinger, LLC. All rights reserved.

schrodinger.utils.install_scripts.get_module_docstring(filepath, default='')

Get the docstring for a given module

Parameters:
  • filepath (str) – The path where the module is located
  • default (str) – The docstring to use if the file cannot be parsed or does not contain a docstring.
Returns:

The docstring

Return type:

str