From: Noel O'B. <bao...@gm...> - 2016-05-13 09:08:44
|
dir(object) is also an option. On 13 May 2016 at 10:06, Felix Plasser <fel...@un...> wrote: > I think this is what ccget does: > > print("cclib can parse the following attributes from %s:" % > name) > for attr in data._attrlist: > if hasattr(data, attr): > print(" %s" % attr) > > Is that what you need? > > -Felix > > > On 05/13/2016 09:33 AM, Johannes Wagner wrote: > > hey together, > quick question: Is there a possibility in cclib do get an overview of all > successful parsed attributes contained in the object? I actually thought > help(object) does it, but it shows just generic informations about which > attribute has which format. > > The logging I think should show that, but even setting > > object.logger.setLevel(logging.INFO) > > does only show warnings. Well setting to .DEBUG I get a log for every single > parsed value, but that’s overkill and also only shows while parsing, not > later on anymore when handling the object… > > Is there something in cclib that shows an overview over all parsed > attributes of the given log file? > > > On a side note, I think a 'using cclib' section a’la > http://cclib.sourceforge.net/wiki/index.php/Using_cclib should be > transferred to the http://cclib.github.io page. Thats completely missing in > the tutorial page, just install and read about parsed data notes, but no > documentation how to actually use cclib... > > Oh and btw, the link for the mailing list at the bottom of the cclib github > page (https://github.com/cclib/cclib) is a url that points to > > https://github.com/cclib/cclib/blob/master/ccl...@li... > > instead of > > https://lists.sourceforge.net/lists/listinfo/cclib-users > > maybe someone fixes this quick. > > > cheers, Johannes > > > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > > > > _______________________________________________ > cclib-users mailing list > ccl...@li... > https://lists.sourceforge.net/lists/listinfo/cclib-users > > > -- > Felix Plasser > Institute for Theoretical Chemistry > University of Vienna > Währingerstr. 17/404 > 1090 Wien > fel...@un... > http://homepage.univie.ac.at/felix.plasser/ > Tel.: +43-1-4277-52757 > > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > cclib-users mailing list > ccl...@li... > https://lists.sourceforge.net/lists/listinfo/cclib-users > |