getModulePath#

lsst.ts.wep.utils.getModulePath()#

Get the path of module.

Returns:

Directory path of module.

Return type:

str

Notes

When ts_wep is set up with EUPS the package directory is returned via getPackageDir. When it is not (e.g. a plain pip install or a downstream documentation build), fall back to the package’s location on disk so that importing ts_wep does not require an EUPS environment.