From 596f5b0e870ebca359b01062e69d09a61b1889c0 Mon Sep 17 00:00:00 2001 From: Jean Henry Date: Mon, 2 Jun 2025 16:44:34 +0200 Subject: [PATCH 1/3] maint: use ansys-eseg-lbsjv 0.1.0 for generating pydata.py --- .../scade/python_wrapper/kcg_data_parser.py | 16 +- src/ansys/scade/python_wrapper/pydata.py | 62 +- .../scade/python_wrapper/swan_data_parser.py | 4 +- tools/BuildData/buildata.py | 222 +- tools/Models/pydata.aird | 5709 +++++++++-------- 5 files changed, 3088 insertions(+), 2925 deletions(-) diff --git a/src/ansys/scade/python_wrapper/kcg_data_parser.py b/src/ansys/scade/python_wrapper/kcg_data_parser.py index e492374..652984f 100644 --- a/src/ansys/scade/python_wrapper/kcg_data_parser.py +++ b/src/ansys/scade/python_wrapper/kcg_data_parser.py @@ -149,9 +149,9 @@ def _build_operator(model: data.Model, m_op: m.Operator): op.context.pointer = True # if assertions fail, remove shortcomings in the implementation assert len(c_op.get_init().get_parameters()) == 1 - op.init.link_parameter(op.context) + op.init.add_parameter(op.context) assert len(c_op.get_reset().get_parameters()) == 1 - op.reset.link_parameter(op.context) + op.reset.add_parameter(op.context) for m_input in m_op.get_inputs(): c_input = m_input.get_generated() @@ -169,10 +169,10 @@ def _build_operator(model: data.Model, m_op: m.Operator): op.add_io(io) if isinstance(c_input, c.Parameter): assert op.cycle - op.cycle.link_parameter(io) + op.cycle.add_parameter(io) else: assert op.in_context - op.in_context.link_io(io) + op.in_context.add_io(io) model.map_item(c_input, io) for m_output in m_op.get_outputs(): @@ -191,10 +191,10 @@ def _build_operator(model: data.Model, m_op: m.Operator): io.sizes, io.type = _build_type(model, c_type) if isinstance(c_output, c.Parameter): assert op.cycle - op.cycle.link_parameter(io) + op.cycle.add_parameter(io) else: assert op.context - op.context.link_io(io) + op.context.add_io(io) model.map_item(c_output, io) else: # single scalar output @@ -215,9 +215,9 @@ def _build_operator(model: data.Model, m_op: m.Operator): # update the parameters of cycle w.r.t. the contexts if op.in_context: assert not op.cycle.parameters - op.cycle.link_parameter(op.in_context) + op.cycle.add_parameter(op.in_context) if op.context: - op.cycle.link_parameter(op.context) + op.cycle.add_parameter(op.context) model.add_operator(op) model.map_item(c_op, op) diff --git a/src/ansys/scade/python_wrapper/pydata.py b/src/ansys/scade/python_wrapper/pydata.py index 98d9c46..15074db 100644 --- a/src/ansys/scade/python_wrapper/pydata.py +++ b/src/ansys/scade/python_wrapper/pydata.py @@ -47,7 +47,7 @@ class CK(Enum): #%% classes #{{class(2) -class Entity(object): +class Entity: def __init__(self, c_name: str = '', m_name: str = '', path: str = '', *args, **kwargs): self.c_name: str = c_name self.m_name: str = m_name @@ -107,6 +107,10 @@ def __init__(self, input: bool = False, return_: bool = False, pointer: bool = F self.return_: bool = return_ self.context: Context = None self.pointer: bool = pointer + + def set_context(self, context: 'Context'): + self.context = context + context.ios.append(self) #}}class @@ -124,9 +128,11 @@ def __init__(self, *args, **kwargs): self.fields: List[Feature] = [] self.context: Context = None - def add_field(self, field: Feature): + def add_field(self, field: 'Feature'): self.fields.append(field) + #<>link_25 #}}class @@ -138,14 +144,14 @@ def __init__(self, pointer: bool = False, kind: CK = CK.CONTEXT, *args, **kwargs self.pointer: bool = pointer self.kind: CK = kind + def add_io(self, io: 'IO'): + self.ios.append(io) + io.context = self + #<>cls #}}class @@ -165,10 +171,10 @@ def __init__(self, *args, **kwargs): self.parameters: List[Typed] = [] self.return_: Typed = None - #<>cls @@ -187,34 +193,46 @@ def __init__(self, header: str = '', *args, **kwargs): self.reset: Function = None self.header: str = header - def set_in_context(self, in_context: Context): + def set_in_context(self, in_context: 'Context'): self.in_context = in_context + #<>link_11 - def set_context(self, context: Context): + def set_context(self, context: 'Context'): self.context = context + #<>link_12 - def add_io(self, io: IO): + def add_io(self, io: 'IO'): self.ios.append(io) + #<>link_13 - def set_cycle(self, cycle: Function): + def set_cycle(self, cycle: 'Function'): self.cycle = cycle + #<>link_33 - def set_init(self, init: Function): + def set_init(self, init: 'Function'): self.init = init + #<>link_34 - def set_reset(self, reset: Function): + def set_reset(self, reset: 'Function'): self.reset = reset + #<>link_35 #}}class #{{class(26) -class Model(object): +class Model: def __init__(self, prefix: str = '', elaboration: str = '', *args, **kwargs): self.types: List[Type] = [] self.operators: List[Operator] = [] @@ -226,17 +244,23 @@ def __init__(self, prefix: str = '', elaboration: str = '', *args, **kwargs): self._mapping = {} #>>init - def add_type(self, type: Type): + def add_type(self, type: 'Type'): self.types.append(type) + #<>link_27 - def add_operator(self, operator: Operator): + def add_operator(self, operator: 'Operator'): self.operators.append(operator) + #<>link_28 - def add_sensor(self, sensor: Global): + def add_sensor(self, sensor: 'Global'): self.sensors.append(sensor) + #<>link_29 #< Entity: diff --git a/src/ansys/scade/python_wrapper/swan_data_parser.py b/src/ansys/scade/python_wrapper/swan_data_parser.py index 4ebb679..c295462 100644 --- a/src/ansys/scade/python_wrapper/swan_data_parser.py +++ b/src/ansys/scade/python_wrapper/swan_data_parser.py @@ -335,7 +335,7 @@ def _build_function(model: data.Model, file, atts): typed.pointer = parameter['pointer'] if not typed.type: _build_typed(model, typed, parameter['type']) - function.link_parameter(typed) + function.add_parameter(typed) type_id = atts.get('return_type') if type_id: @@ -354,7 +354,7 @@ def _build_function(model: data.Model, file, atts): for field in op.context.type.fields: io = ios.get(field.m_name) if io: - op.context.link_io(io) + op.context.add_io(io) io.sizes = field.sizes io.type = field.type io.c_name = field.c_name diff --git a/tools/BuildData/buildata.py b/tools/BuildData/buildata.py index 5438e68..5f4c5aa 100644 --- a/tools/BuildData/buildata.py +++ b/tools/BuildData/buildata.py @@ -21,205 +21,49 @@ # SOFTWARE. """ -Generates parts of the ``pydata.py`` module from is ``pydata.ecore`` model. +Generates parts of the ``pydata.py`` module from its ``pydata.ecore`` model. -This modules adapts the ``lbsjv`` generator by overriding and extending its generation services. +This modules is based on internal ``lbsjv`` Python generator for ecore. + +Steps for generating the pydata.py: + +* Create a virtual Python environment 3.12 or greater +* Install ansys-eseg-lbsjv +* Run this script """ from pathlib import Path -from ecore import EClass, EOperation, EParameter, EReference -import lbsjv -from lbsjv import FileType, Language, generator -from lbsjv.defaults import Extension -from lbsjv.generator import ( - ClassService, - DataTypeService, - EObjectService, - GetLowerName, - InterfaceService, - Model, +import ansys.eseg.lbsjv.ecore as ecore +from ansys.eseg.lbsjv.services import ( + CLASS, + INIT, + INTERFACE, + LINK, + TYPE, + InitService, + PythonModel, ) -from lbsjv.generator.tools import TypedObjectVisitor -from lbsjv.interfaces import IBlockManager - -# --------------------------------------------------------------------------- -# redefinitions -# --------------------------------------------------------------------------- - - -class DataTypedObjectVisitor(TypedObjectVisitor): - """Redefinition of the visitor for the typed objects.""" - - def VisitETypedElement(self, eTypedElement, class_name, reference_name): - """Add a ``s`` for the collections.""" - super().VisitETypedElement(eTypedElement, class_name, reference_name) - # default: same name - eTypedElement.targetVar = GetLowerName(eTypedElement.targetName) - type = eTypedElement.eType - if type is not None and type.__dict__.get('targetName') is None: - pass - if not type or eTypedElement.upperBound != -1: - eTypedElement.targetName = eTypedElement.targetVar - else: - eTypedElement.targetName = eTypedElement.targetVar + 's' - - -class DataModel(Model): - """Customization of the of the default Model.""" - - def __init__(self, filename, ident, library): - super().__init__(filename, ident, library) - - def PrepareTypedObjects(self): - """Run the customized visitor.""" - DataTypedObjectVisitor().Visit(self.model) - - -# --------------------------------------------------------------------------- -# new services -# --------------------------------------------------------------------------- - - -class ExtendedService(EObjectService): - """Extension of the ecore model.""" - - def __init__(self): - super().__init__(use_args=True, local_typing=True) - - # IService interface - def Init(self, manager): - """Initialize the service.""" - super().Init(manager) - svcclass = self.manager.FindService('class') - svcclass.AddExtension(AddExtension(self)) - - def AddEContents(self, cls: EClass): - """Prevent the default implementation.""" - # don't need this function - return None - - # IService interface - def ExtendData(self, iter): - """Extend the ecore model.""" - result = super().ExtendData(iter) - for cls in self.model.iterClasses(): - if not isinstance(cls, EClass) or cls.name == 'EObject': - continue - for reference in cls.eReferences: - # if not reference.containment or not reference.many: continue - if not reference.containment: - continue - operation = self.AddAdd(cls, reference) - if operation is not None: - cls.eOperations.append(operation) - result = True - return result - - def AddAdd(self, cls: EClass, reference: EReference): - """Add the ``Add`` operations to a class.""" - prefix = 'Add' if reference.many else 'Set' - name = '%s%s%s' % (prefix, reference.name[0].upper(), reference.name[1:]) - for operation in cls.eOperations: - if operation.name == name: - return None - operation = EOperation(name=name) - operation._eContainer = cls - operation.extension = 'add' - operation.oid = cls.oid + 'add_%s' % reference.oid - operation.doc = [] - operation.targetName = '%s_%s' % (prefix.lower(), reference.targetVar) - parameter = EParameter(reference.name, lowerBound=0, upperBound=0) - parameter._eContainer = operation - operation.eParameters.append(parameter) - parameter.eType = reference.eType - parameter.typingName = parameter.eType.targetName - parameter.targetName = reference.targetVar - parameter.initValue = None - # add the reference to ease flushing the code - operation.reference = reference - - return operation - - -# --------------------------------------------------------------------------- -# new extensions -# --------------------------------------------------------------------------- - - -class AddExtension(Extension): - """Generation of the operations ``AddXxx``.""" - - def __init__(self, service: EObjectService): - super().__init__('add') - self.service = service - - def Flush(self, new: bool, data: object, blockManager: IBlockManager): - """Generate the function body.""" - # data is an operation - operation = data - reference = operation.reference - - bm = blockManager - if reference.many: - bm.FlushString( - ' self.%s.append(%s)\n' % (reference.targetName, reference.targetVar) - ) - else: - bm.FlushString(' self.%s = %s\n' % (reference.targetName, reference.targetVar)) - bm.FlushString(' %s._owner = self\n' % reference.targetVar) - - return True - - -# --------------------------------------------------------------------------- -# generation with lbjsv -# --------------------------------------------------------------------------- - - -def Generate(model, libraries, targetDir): - """Run the generation.""" - print('generating classes for ' + Path(model).name + '...') +from ansys.eseg.lbsjv.vgl import get_manager_instance - # load files, replace pathnames by models - model = DataModel(model, 'Data', False) - libraries = [DataModel(library, 'N/A', True) for library in libraries] +target_dir = Path(__file__).parent.parent.parent / 'src' / 'ansys' / 'scade' / 'python_wrapper' +go = get_manager_instance(target_dir, 'python_wrapper') +go.load_environment() - # complete the initialization of the models - for library in libraries: - library.PrepareModel(checkOid=False) - model.PrepareModel(checkOid=True) +model_dir = Path(__file__).parent.parent / 'Models' +ecore_dir = Path(ecore.__file__).parent / 'model' - path = Path(model.filename) +# CAUTION: declare the libraries first to make sure binding is performed +# before the models are preprocessed +emodel = PythonModel(False, 'e', ecore_dir / 'ecore.ecore', '3', library=True) +model = PythonModel(True, '', model_dir / 'pydata.ecore', '1', library=False) - go = lbsjv.Manager() - # languages - lpy = Language('Python', None, None, '#') - # file types - ftpy = FileType('^.*\.py$', Path(generator.__file__).parent / 'pyclass.tp', lpy) - services = [ClassService(), InterfaceService(), DataTypeService(), ExtendedService()] - for service in services: - service.targetDir = targetDir - env = {'languages': [lpy], 'types': [ftpy], 'services': services} - go.SetEnvironment(env) - project = { - 'models': [model], - 'libraries': libraries, - 'files': [str(targetDir / Path(file).name.lower()) for file in [model.filename]], - } - # arbitrary name used as template, the file does not exist (yet?) - go.SetProject(str((targetDir / path.name).with_suffix('.prj')), project) - go.Go() - print('...done') +go.add_models([emodel, model]) +go.activate_services([CLASS, INIT, INTERFACE, LINK, TYPE]) -if __name__ == '__main__': - libraries = [ - (str(Path(generator.__file__).parent.parent.parent / 'ecore' / 'model' / 'ecore.ecore')), - ] +# customization +InitService.use_args = True - # targetDir - parentDir = Path(__file__).parent.parent - targetDir = parentDir.parent / 'src' / 'ansys' / 'scade' / 'python_wrapper' - model = str(parentDir / 'Models' / 'pydata.ecore') - Generate(model, libraries, targetDir) +# generate +go.go() diff --git a/tools/Models/pydata.aird b/tools/Models/pydata.aird index 836765d..33289f2 100644 --- a/tools/Models/pydata.aird +++ b/tools/Models/pydata.aird @@ -1,2750 +1,3045 @@ - - pydata.ecore - http://www.eclipse.org/emf/2002/Ecore - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + pydata.ecore + http://www.eclipse.org/emf/2002/Ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - + + + + + + + + + bold + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + - - - + + + - - - + + + - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - + + + - - - - - - - - - - - - - - - - - - italic - - - - - - + + + - - - labelSize - - - labelSize - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - + + + - - - + + + - - - bold - - + + + bold - - - + + + - - - labelSize - - - labelSize - + + + - - - + + + - - - labelSize - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + italic + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + italic - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + italic - - - + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + - - - + + + italic - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + italic - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - italic - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + italic - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - labelSize - bold - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + labelSize + bold + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + + + + + From 1e7fbf1d765aa52913d9c8e6676fb2a116cff3a6 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 2 Jun 2025 14:57:21 +0000 Subject: [PATCH 2/3] chore: adding changelog file 34.maintenance.md [dependabot-skip] --- doc/changelog.d/34.maintenance.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/34.maintenance.md diff --git a/doc/changelog.d/34.maintenance.md b/doc/changelog.d/34.maintenance.md new file mode 100644 index 0000000..b09965f --- /dev/null +++ b/doc/changelog.d/34.maintenance.md @@ -0,0 +1 @@ +maint: Use ansys-eseg-lbsjv 0.1.0 for generating `pydata.py` \ No newline at end of file From 7ec16aa9445a8abd159c62311e0d40f5c54de6f4 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 2 Jun 2025 15:02:13 +0000 Subject: [PATCH 3/3] chore: adding changelog file 34.maintenance.md [dependabot-skip] --- doc/changelog.d/34.maintenance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changelog.d/34.maintenance.md b/doc/changelog.d/34.maintenance.md index b09965f..6f51c10 100644 --- a/doc/changelog.d/34.maintenance.md +++ b/doc/changelog.d/34.maintenance.md @@ -1 +1 @@ -maint: Use ansys-eseg-lbsjv 0.1.0 for generating `pydata.py` \ No newline at end of file +refactor: Use ansys-eseg-lbsjv 0.1.0 for generating `pydata.py` \ No newline at end of file