path
pdb_db
module-attribute
pdb_db = join(database, 'pdbDB')
Local copy of the PDB database
pisa_db
module-attribute
pisa_db = join(database, 'pisaDB')
Local copy of the PISA database
get_uniclust_db
get_uniclust_db() -> str
Get the newest UniClust file by sorting alphanumerically
Source code in symdesign/utils/path.py
192 193 194 195 196 197 198 199 |
|
make_path
make_path(path: AnyStr, condition: bool = True)
Make all required directories in specified path if it doesn't exist, and optional condition is True
Parameters:
-
path
(AnyStr
) –The path to create
-
condition
(bool
, default:True
) –A condition to check before the path production is executed
Source code in symdesign/utils/path.py
309 310 311 312 313 314 315 316 317 |
|
ex_path
ex_path(*directories: Sequence[str]) -> AnyStr
Create an example path prepended with /path/to/provided/directories
Parameters:
-
directories
(Sequence[str]
, default:()
) –Example: ('provided', 'directories')
Source code in symdesign/utils/path.py
320 321 322 323 324 325 326 |
|