File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -411,7 +411,8 @@ def compute_segment_metrics(
411411
412412 if len (points ) < 2 :
413413 logger .warning (
414- "Not enough points to calculate metrics for line segment: start=%s end=%s" ,
414+ "Not enough points to calculate metrics for line segment: "
415+ "start=%s end=%s" ,
415416 self .start_label ,
416417 self .end_label ,
417418 )
@@ -446,13 +447,15 @@ def compute_segment_metrics(
446447 )
447448 else :
448449 logger .warning (
449- "Not enough ink points to calculate metrics for line segment: start=%s end=%s" ,
450+ "Not enough ink points to calculate metrics for line segment: "
451+ "start=%s end=%s" ,
450452 self .start_label ,
451453 self .end_label ,
452454 )
453455 elif ink_end_idx <= ink_start_idx :
454456 logger .warning (
455- "Invalid ink trajectory: end index (%d) is not greater than start index (%d) for line segment: start=%s end=%s" ,
457+ "Invalid ink trajectory: end index (%d) is not greater than "
458+ "start index (%d) for line segment: start=%s end=%s" ,
456459 ink_end_idx ,
457460 ink_start_idx ,
458461 self .start_label ,
@@ -471,7 +474,8 @@ def compute_segment_metrics(
471474 self .detect_hesitations ()
472475 else :
473476 logger .warning (
474- "Not enough ink points to calculate metrics for line segment: start=%s end=%s" ,
477+ "Not enough ink points to calculate metrics for line segment: "
478+ "start=%s end=%s" ,
475479 self .start_label ,
476480 self .end_label ,
477481 )
You can’t perform that action at this time.
0 commit comments