diff --git a/OMPython/ModelicaSystem.py b/OMPython/ModelicaSystem.py index 9150023d..71432449 100644 --- a/OMPython/ModelicaSystem.py +++ b/OMPython/ModelicaSystem.py @@ -37,7 +37,6 @@ import itertools import logging import numbers -import numpy as np import os import queue import textwrap @@ -46,8 +45,16 @@ import warnings import xml.etree.ElementTree as ET -from OMPython.OMCSession import (OMCSessionException, OMCSessionRunData, OMCSessionZMQ, - OMCProcess, OMCProcessLocal, OMCPath) +import numpy as np + +from OMPython.OMCSession import ( + OMCSessionException, + OMCSessionRunData, + OMCSessionZMQ, + OMCProcess, + OMCProcessLocal, + OMCPath, +) # define logger using the current module name as ID logger = logging.getLogger(__name__) diff --git a/OMPython/OMCSession.py b/OMPython/OMCSession.py index f623f976..fca7c47d 100644 --- a/OMPython/OMCSession.py +++ b/OMPython/OMCSession.py @@ -42,8 +42,6 @@ import os import pathlib import platform -import psutil -import pyparsing import re import shutil import signal @@ -56,6 +54,9 @@ import warnings import zmq +import psutil +import pyparsing + # TODO: replace this with the new parser from OMPython.OMTypedParser import om_parser_typed from OMPython.OMParser import om_parser_basic