:py:mod:`aiida_hubbard.parsers.parse_raw.hp`
============================================

.. py:module:: aiida_hubbard.parsers.parse_raw.hp

.. autoapi-nested-parse::

   A collection of function that are used to parse the output of Quantum Espresso HP.

   The function that needs to be called from outside is parse_raw_output().
   The functions mostly work without aiida specific functionalities.



Module Contents
---------------


Functions
~~~~~~~~~

.. autoapisummary::

   aiida_hubbard.parsers.parse_raw.hp.parse_raw_output
   aiida_hubbard.parsers.parse_raw.hp.detect_important_message



.. py:function:: parse_raw_output(stdout)

   Parse the output parameters from the output of a Hp calculation written to standard out.

   :param filepath: path to file containing output written to stdout
   :returns: boolean representing success status of parsing, True equals parsing was successful
   :returns: dictionary with the parsed parameters


.. py:function:: detect_important_message(logs, line)

   Detect error or warning messages, and append to the log if a match is found.


