Commit b1093fb3 authored by Andreas Schmidt's avatar Andreas Schmidt

Improve logging.

parent a065a069
......@@ -5,7 +5,6 @@ import ruamel.yaml as yaml
import logging
import copy
def _stamp_name_by_src_and_type(all_stamps, src, kind=None):
if kind is None:
kind = ["time", "cycle", "none"]
......@@ -59,8 +58,7 @@ def _generate_thread_durations(df, cycle_reference, thread, stamps):
df[stamp_name + "_T"] = (diff * df[src_name + "Cycle_D"] + df[start_stamp + "_T"]).astype(int)
except ValueError as e:
df[stamp_name + "_T"] = np.nan
logging.debug("Stamp '%s' caused a ValueError %s %s", stamp_name, src_name, start_stamp)
raise e
logging.debug("Stamp '%s' caused a ValueError (Src: %s, Start: %s)", stamp_name, src_name, start_stamp)
def evaluate_side(file, config, side="sender", kind=0):
config = copy.deepcopy(config)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment