swamp.parsers.refmacparser module¶
-
class
RefmacParser
(stdout, logger=None)[source]¶ Bases:
swamp.parsers.parser.Parser
Refmac output parser
Parameters: - stdout (str) – the stdout to be parsed (default None)
- logger (SwampLogger) – logging interface for the parser (default None)
Variables: - rfactor (str) – the Rfactor as parsed from the
fname
- rfactor_delta (tuple) – the intial and final Rfactor as parsed from the
fname
- rfree (str) – the Rfree as parsed from the
fname
- rfree_delta (tuple) – the intial and final Rfree as parsed from the
fname
- bondlenght_delta (tuple) – the intial and final Bond length parsed from
fname
- bondangle_delta (tuple) – the intial and final Bond angle parsed from
fname
- chirvol_delta (tuple) – the intial and final Chirvol as parsed from the
fname
Example: >>> from swamp.parsers import RefmacParser >>> my_parser = RefmacParser('<stdout>') >>> my_parser.parse()
-
summary
¶ A summary of the figures of merit