From: Adam T. <ate...@gm...> - 2014-09-30 17:43:19
|
Hi Johannes, This list is still alive, although it doesn't see much action! As far as your question, optdone was supposed to be a bool for v1.2 and then we switched it to a list in the git master branch. Because we didn't want to break the API by changing from a bool to a list for a point release (i.e. 1.2 -> 1.3), we opted for a bit of magic to smooth the transition. You should be able to access the optdone list as follows: from cclib.parser import ccopen parser = ccopen("filename", optdone_as_list=True) // could also do future=True instead of optdone_as_list data = parser.parse() Please let us know if that doesn't work. Adam On Tue, Sep 30, 2014 at 9:06 AM, Johannes Wagner <joh...@h-...> wrote: > Hello together, > don’t know if this mailing list is dead since the move to github.io… > > I wanted to update from 1.2 to 1.3, but found the issue with the new > optdone set as boolean. Is there a way to maintain the old optdone list? On > http://cclib.github.io/ I couldn’t find any hint. I also wonder why it’s > changed in the first place... > > I would like to write out the optimized energy and the coordinates as xyz > file. The old optdone list this made this quite easy to handle with > atomcoords[optdone] and scfenergies[optdone]. The boolean version of course > can be made to work the same way, but I have to use if conditions and then > take the last scfenergies and atomcoords and also modify all my scripts > using cclib. > > Thanks for any answer! > > cheers, Johannes > > -- > Dipl. Phys. Johannes Wagner > PhD Student, MBM Group > Heidelberg Institut for Theoretical Studies > HITS gGmbH > Schloß-Wolfsbrunnenweg 35 > 69118 Heidelberg > Germany > > phone: +49-6221-533254 > fax: +49 6221 533298 > email: joh...@h-... > > http://www.h-its.org > _________________________________________________ > > Amtsgericht Mannheim / HRB 337446 > Managing Directors: > Dr. h.c. Klaus Tschira > Prof. Dr.-Ing. Andreas Reuter > > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > cclib-users mailing list > ccl...@li... > https://lists.sourceforge.net/lists/listinfo/cclib-users > > |