Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No block found for inverse conversion after cut function #1017

Open
fhaon opened this issue May 13, 2024 · 1 comment
Open

No block found for inverse conversion after cut function #1017

fhaon opened this issue May 13, 2024 · 1 comment

Comments

@fhaon
Copy link

fhaon commented May 13, 2024

Python version

('python=3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit '
'(AMD64)]')
'os=Windows-10-10.0.19044-SP0'
'numpy=1.24.2'
'asammdf=7.4.2'

Code

MDF version

4.11

Code snippet

from asammdf import MDF

with MDF(name="E:/RecordFile_24-05-13_09_40_46_355.mf4", temporary_folder="E:/", version='4.11') as mdf4:
    mdf4_cut = mdf4.cut(start=2.5, stop=7.5)
    mdf4_cut.save("E:/RecordFile_24-05-13_09_40_46_355_cut.mf4", overwrite=True)

Traceback

N/A

MDF Validator Error

error

Description

RecordFile_24-05-13_09_40_46_355.zip

The MDF file obtained after using the cut function has errors (No block found for the inverse conversion function)

error2

@danielhrisca
Copy link
Owner

@fhaon the inverse conversion is simply ignored. The latest development code will generate correct files (the link address is set to 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants