diff --git a/faultclass.py b/faultclass.py index fb00ef9..1f182c3 100644 --- a/faultclass.py +++ b/faultclass.py @@ -525,9 +525,12 @@ def readout_data( for (flag, keyword, data) in datasets: if not flag: continue - output[keyword] = write_output_wrt_goldenrun( - keyword, data, goldenrun_data - ) + if keyword.endswith("registers"): + output[keyword] = data.to_dict("records") + else: + output[keyword] = write_output_wrt_goldenrun( + keyword, data, goldenrun_data + ) if tbfaulted == 1: output["tbfaulted"] = tbfaultedlist