Skip to content

SyntaxError when importing SimRes #43

@Enoch23

Description

@Enoch23

When trying to import SimRes I receive the following error.

In [1]: from modelicares import SimRes
Traceback (most recent call last):

  File "C:\ProgramData\Miniconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3418, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "<ipython-input-3-7373672c4d21>", line 1, in <module>
    from modelicares import SimRes

  File "C:\ProgramData\Miniconda3\lib\site-packages\modelicares\__init__.py", line 50, in <module>
    from .simres import SimRes, SimResList, SimResSequence

  File "C:\ProgramData\Miniconda3\lib\site-packages\modelicares\simres.py", line 1723
    if attr == 'value' and len(self) <> self.n_constants:
                                      ^
SyntaxError: invalid syntax

Is there any way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions