Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#859 error outputting multi-model pdbqt files

3.0
open
nobody
None
1
2013-01-30
2013-01-30
David Koes
No

When outputing multi-model pdbqt files by setting OBConversion::SetOutputIndex, the first model is not output as a model. Line 814 of pdbqtformat.cpp needs to be changed from
if (!pConv->IsLast() || pConv->GetOutputIndex() > 1)
to
if (!pConv->IsLast() || pConv->GetOutputIndex() >= 1)
since the outputindex is zero by default.

Discussion