asammdf icon indicating copy to clipboard operation
asammdf copied to clipboard

Triger comments always added and can't be deleted

Open jesberpen opened this issue 3 years ago • 1 comments

Python version

Please run the following snippet and write the output here ('python=3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 ' 'bit (AMD64)]') 'os=Windows-10-10.0.19044-SP0' 'numpy=1.22.1' 'asammdf=7.0.4'

import platform
import sys
from pprint import pprint

pprint("python=" + sys.version)
pprint("os=" + platform.platform())

try:
    import numpy
    pprint("numpy=" + numpy.__version__)
except ImportError:
    pass

try:
    import asammdf
    pprint("asammdf=" + asammdf.__version__)
except ImportError:
    pass

Code

MDF version

_please write here the file version (you can run print(MDF(file).version))

Code snippet

please write here the code snippet that triggers the error

Traceback

please write here the error traceback

Description

The fastest way to debug is to have the original file. For data protection you can use the static method scramble to scramble all text blocks, and send the scrambled file by e-mail.

Please describe the issue here.

Hello, Using the GUI version of asammdf and the trigger comment functionality (Ctrl+I) in the plots. No matter if I chose accept or cancel it always adds one to the plot. Aside from that I can't find a way to remove the trigger comments, is it possible to do? Thanks!

jesberpen avatar Feb 02 '22 12:02 jesberpen

The triggers are not added now if you press the Cancel button (development branch code). Deleting triggers is not possible

danielhrisca avatar Feb 11 '22 19:02 danielhrisca