DiamondLightSource / tickit

Event-based hardware simulation framework
Apache License 2.0
7 stars 0 forks source link

Add DecodingInterpreter and EncodingInterpreter #91

Closed MattPrit closed 1 year ago

MattPrit commented 2 years ago

Adds interpreter wrappers that decode/encode messages before passing them on to the wrapped interpreter. This should facilitate the removal of encoding/decoding logic from within RegexCommand.

codecov[bot] commented 2 years ago

Codecov Report

Merging #91 (7bbb594) into master (c0e90c0) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
+ Coverage   98.56%   98.58%   +0.01%     
==========================================
  Files          67       68       +1     
  Lines        2097     2120      +23     
==========================================
+ Hits         2067     2090      +23     
  Misses         30       30              
Impacted Files Coverage Δ
tickit/adapters/interpreters/wrappers/__init__.py 100.00% <100.00%> (ø)
...ters/interpreters/wrappers/recoding_interpreter.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

abbiemery commented 1 year ago

Closing this as not planned. When it becomes desired again raise a new issue, linked to this #177.