htmd.home module#
- htmd.home.home(dataDir=None, libDir=False, shareDir=False)#
Return the pathname of the HTMD root directory (or a data subdirectory).
- Parameters:
- Returns:
dir – The directory
- Return type:
Example
>>> from htmd.home import home >>> home() '.../htmd' >>> home(dataDir="dhfr") '.../data/dhfr' >>> os.path.join(home(dataDir="dhfr"),"dhfr.pdb") '.../data/dhfr/dhfr.pdb'