python-can icon indicating copy to clipboard operation
python-can copied to clipboard

Trc file writer add version param

Open pkess opened this issue 10 months ago • 3 comments

While i tried to update and finish the changes in PR 1702 i saw some basic change that are quite usefull but are not the trace file version 1.1 changes itself. I collected them here now.

I also added the docstring as it was requested by @zariiii9003 .

I will create another PR for the addition of the TRC version 1.1 itself.

pkess avatar Feb 23 '25 11:02 pkess

I tried to but i was not able to fix the sphix build. It looks like sphinx cannot resove the TRCFileVersion to can.TRCFileVersion.

Can anyone help me?

pkess avatar Feb 23 '25 12:02 pkess

I tried to but i was not able to fix the sphix build. It looks like sphinx cannot resove the TRCFileVersion to can.TRCFileVersion.

Can anyone help me?

Sphinx fails to create a link to TRCFileVersion, because it does not exist in the documentation yet. You could add

.. autoclass:: can.TRCFileVersion
    :show-inheritance:
    :members:
    :undoc-members:

somewhere in file_io.rst.

zariiii9003 avatar Feb 23 '25 13:02 zariiii9003

Thank you for that hint. I will try that later

pkess avatar Feb 23 '25 15:02 pkess