Update XSY module to integrate with converter framework.

This commit is contained in:
2026-10-29 17:25:47 -05:00
parent 7b87b98308
commit 171e5e6536

View File

@@ -573,7 +573,7 @@ class XSYReader:
self.definitions_ss_path = definitions_ss_path self.definitions_ss_path = definitions_ss_path
self.even_addresses = even_addresses self.even_addresses = even_addresses
def read(self, path: Traversable, expand: bool = True) -> XSY: def read(self, path: Traversable, expand: bool = True) -> XSYBlock:
"""Read the dataBlock and definitions of an XSY file into an XSY """Read the dataBlock and definitions of an XSY file into an XSY
object. object.
""" """
@@ -591,7 +591,7 @@ class XSYReader:
) )
if expand: if expand:
xsy.datablock = xsy.expand_datablock() xsy.datablock = xsy.expand_datablock()
return xsy return xsy.datablock
def write(self): def write(self):
"""Write XSY object to file.""" """Write XSY object to file."""