Skip to content
Snippets Groups Projects

Fix correction addon interface

Merged Egor Sobolev requested to merge dev/correction-addons-interface into master
2 unresolved threads
7 files
+ 14
10
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -15,9 +15,10 @@ class BaseCorrectionAddon:
@@ -15,9 +15,10 @@ class BaseCorrectionAddon:
and add properties to it."""
and add properties to it."""
pass
pass
def __init__(self, config):
def __init__(self, device, prefix, config):
"""Will be given the node from extend_device_schema, no prefix needed here"""
"""Will be given the node from extend_device_schema, no prefix needed here"""
pass
self._device = device
 
self._prefix = prefix
def post_correction(
def post_correction(
self, train_id, processed_data, cell_table, pulse_table, output_hash
self, train_id, processed_data, cell_table, pulse_table, output_hash
Loading