diff --git a/examples/propertiesDataframes.py b/examples/propertiesDataframes.py index 34cd5202..1518f5ef 100644 --- a/examples/propertiesDataframes.py +++ b/examples/propertiesDataframes.py @@ -11,10 +11,7 @@ from neqsim.thermo import ( TPflash, calcproperties, - fluid, fluid_df, - phaseenvelope, - printFrame, ) # create gas condensate fluid diff --git a/pyproject.toml b/pyproject.toml index 0d3634a5..c531a0bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ python = "^3.8" JPype1 = "^1.5.0" numpy = [ { version = "^1.24.4", markers = "python_version == '3.8'" }, - { version = "^1.25.2", markers = "python_version > '3.8'" }, + { version = ">1.25.2", markers = "python_version > '3.8'" }, ] pandas = [ { version = "^1.3.5", markers = "python_version == '3.8'" }, @@ -26,7 +26,7 @@ tabulate = { version = "^0.9.0", optional = true } [tool.poetry.group.dev.dependencies] black = ">=23.12,<25.0" pytest = "^7.4.3" -pre-commit = "^3.5.0" +pre-commit = "^3.5.0" # Higher versions require python 3.9+ [tool.poetry.extras] interactive = ["matplotlib", "jupyter", "tabulate"] diff --git a/tests/test_NeqSim.py b/tests/test_NeqSim.py index 8009ef26..7318f3d4 100644 --- a/tests/test_NeqSim.py +++ b/tests/test_NeqSim.py @@ -31,7 +31,7 @@ def test_Viscosity(): def test_hasComponentDatabase(): - assert jneqsim.util.database.NeqSimDataBase.hasComponent("methane") == True + assert jneqsim.util.database.NeqSimDataBase.hasComponent("methane") is True def test_fullOffshoreProcess(): @@ -136,7 +136,6 @@ def test_fullOffshoreProcess(): compressor, cooler, separator3phase, - getProcess, clearProcess, mixer, heater, @@ -147,14 +146,7 @@ def test_fullOffshoreProcess(): stream, saturator, valve, - filters, - heatExchanger, - simpleTEGAbsorber, - distillationColumn, - waterStripperColumn, recycle, - setpoint, - calculator, ) clearProcess() # reset process simulation