Closed 17Reset closed 1 month ago
Called as an API in Python code, not cli mode
Of course. Please have a look at https://github.com/florianschanda/miss_hit/blob/master/miss_hit_core/mh_metric.py#L1166 how to create a new backend.
You can also directly instantiate a parser but it's a bit more tricky. You can have a look at https://github.com/florianschanda/miss_hit/blob/master/miss_hit_core/command_line.py#L262 what is necessary.
You can skip all the config mechanism, and just create an instance of MATLAB_Parser (see https://github.com/florianschanda/miss_hit/blob/master/miss_hit_core/m_parser.py#L89)
The smallest example of this is the debug script: https://github.com/florianschanda/miss_hit/blob/master/mh_debug_parser
HTH
I do not understand this ticket. Can you please elaborate on the question?