From b4c2e86052e7c31fbd0e7d721b4d52a20a3f44a2 Mon Sep 17 00:00:00 2001 From: Chenggong Date: Thu, 20 Jul 2023 11:36:24 +0200 Subject: [PATCH] Version printing is added --- script/match_xtck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/match_xtck.py b/script/match_xtck.py index 7688840..2718bd7 100755 --- a/script/match_xtck.py +++ b/script/match_xtck.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import argparse - +import Sfilter class PermEvent: def __init__(self, at_index: int, time, up=True): @@ -227,4 +227,5 @@ def longest_common_subsequence(seq1: time_seq_list, seq2: time_seq_list, dp_dict else: print( f"{xtck.at_index:9}, {xtck.time:10}, {direction_dict[xtck.up]:9}, {cyli.at_index:9}, {cyli.time - cyli.resident_time:10}, {cyli.time:10}, {direction_dict[cyli.up]}") + print(f"Version: {Sfilter.__version__}")