get_docstring

Import in python using from mcot.core.scripts import get_docstring

mcot.core.scripts.get_docstring(filename)[source]

Extracts the filename from the docstring

Parameters:filename – path to python file
Returns:module-level docstring (None if undefined)