From 0e7daea4daad2a00b59bb681b77e7b477d85c609 Mon Sep 17 00:00:00 2001 From: Geir Inge Dirdal Tellnes Date: Fri, 27 Feb 2026 16:56:12 +0100 Subject: [PATCH 1/2] Fix Error when trying to save after deleting an RPDO which is in the middle of the list of other RPDOs #80 Bump to 3.5.6 --- pyproject.toml | 2 +- src/objdictgen/node.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0e3df18..05cb61f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "objdictgen" -version = "3.5.5" +version = "3.5.6" description = "CanFestival Object Dictionary tool" authors = [ {name = "Svein Seldal", email = "svein.seldal@laerdal.com"}, diff --git a/src/objdictgen/node.py b/src/objdictgen/node.py index 5cdb3fe..d503f37 100644 --- a/src/objdictgen/node.py +++ b/src/objdictgen/node.py @@ -935,6 +935,7 @@ def RemoveLine(self, index: int, maxval: int, incr: int = 1): while i < maxval and self.IsEntry(i + incr): # FIXME: Not sure what this does self.Dictionary[i] = self.Dictionary[i + incr] + self.ParamsDictionary[i] = self.ParamsDictionary.get(i + incr, {}) i += incr self.Dictionary.pop(i) self.ParamsDictionary.pop(i, None) From b40c8a6e74f1ea1efe31f58dc09ff3b376b7fe0f Mon Sep 17 00:00:00 2001 From: Geir Inge Dirdal Tellnes Date: Fri, 6 Mar 2026 09:22:23 +0100 Subject: [PATCH 2/2] Unbumbed version back to 3.5.5 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 05cb61f..0e3df18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "objdictgen" -version = "3.5.6" +version = "3.5.5" description = "CanFestival Object Dictionary tool" authors = [ {name = "Svein Seldal", email = "svein.seldal@laerdal.com"},