bartongroup / ProIntVar

The core bits of ProIntVar
MIT License
2 stars 0 forks source link

Typo in `prointvar.dssp` example #6

Closed stuartmac closed 7 years ago

stuartmac commented 7 years ago
from prointvar.dssp import DSSPrunner, DSSPreader

input_struct = os.path.join(cfg.db_root, cfg.db_pdbx, '2pah.cif')
output_dssp = os.path.join(cfg.db_root, cfg.db_dssp, '2pah.dssp')
DSSPrunner(inputfile=input_structure, outputfile=output_dssp).write()

df2 = DSSPreader(inputfile=output_dssp).read()
# pandas DataFrame
df2.head()

input_structure should be input_struct or the other way round...

biomadeira commented 7 years ago

Fixed https://github.com/bartongroup/FM_ProIntVar-Core/commit/ff35b1bbb1eab580acfb059409ae324b0462e6fa