pestifer.subcommands.follow_namd_log module¶
The follow-namd-log subcommand. Allows for real-time following and parsing of NAMD log files actively being written to by a namd3 execution.
- class pestifer.subcommands.follow_namd_log.FollowNAMDLogSubcommand(name: str = 'follow-namd-log', aliases: list = <factory>, log_file: str = 'pestifer_diagnostics.log', short_help: str = 'follow and parse an actively updating NAMD log file', long_help: str = 'Monitor a NAMD log file for changes and display relevant information.', func_returns_type: type = <class 'bool'>, parser: argparse.ArgumentParser = None)[source]¶
Bases:
Subcommand- add_subparser(subparsers)[source]¶
Adds the subcommand parser to the given subparsers. Subclasses declare arguments here, after a super().add_subparser() call.
- static func(args: Namespace, **kwargs)[source]¶
the function that executes the subcommand. Subclasses must implement this method.