Skip to content

Commit 658f98f

Browse files
randallfrankmariostieriansys
authored andcommitted
fix conflict
1 parent cbcced1 commit 658f98f

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
History
33
=======
44

5+
v0.8.0
6+
------
7+
* Improved object transmission support
8+
* Support remote objects: ENS_GROUP, etc
9+
* Simplified APIs for particle tracing
10+
* Update documentation for ENS_SCENE and ENS_GEOM objects
11+
512
v0.7.0
613
------
714
* Remove Python 3.8 support. Added Python 3.12 support

doc/source/object_documentation.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ operations that can only be performed via that interface.
3535
ansys.api.pyensight.ens_case.ENS_CASE
3636
ansys.api.pyensight.ens_flipbook.ENS_FLIPBOOK
3737
ansys.api.pyensight.ens_frame.ENS_FRAME
38+
ansys.api.pyensight.ens_geom.ENS_GEOM
3839
ansys.api.pyensight.ens_globals.ENS_GLOBALS
3940
ansys.api.pyensight.ens_group.ENS_GROUP
4041
ansys.api.pyensight.ens_lightsource.ENS_LIGHTSOURCE
@@ -68,6 +69,7 @@ operations that can only be performed via that interface.
6869
ansys.api.pyensight.ens_polyline.ENS_POLYLINE
6970
ansys.api.pyensight.ens_probe.ENS_PROBE
7071
ansys.api.pyensight.ens_query.ENS_QUERY
72+
ansys.api.pyensight.ens_scene.ENS_SCENE
7173
ansys.api.pyensight.ens_source.ENS_SOURCE
7274
ansys.api.pyensight.ens_spec.ENS_SPEC
7375
ansys.api.pyensight.ens_state.ENS_STATE

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
66

77
[project]
88
name = "ansys-pyensight-core"
9-
version = "0.7.3"
9+
version = "0.8.0.dev0"
1010
description = "A python wrapper for Ansys EnSight"
1111
readme = "README.rst"
1212
requires-python = ">=3.9,<4"
@@ -27,7 +27,7 @@ classifiers = [
2727

2828
dependencies = [
2929
"importlib-metadata>=4.0; python_version<='3.8'",
30-
"ansys-api-pyensight==0.3.2",
30+
"ansys-api-pyensight==0.3.3",
3131
"requests>=2.28.2",
3232
"docker>=6.1.0",
3333
"urllib3<2",

tests/unit_tests/test_session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,19 +215,19 @@ def test_convert_ctor(mocked_session, mocker):
215215
value = session._convert_ctor("Class: ENS_PART, desc: 'Sphere', CvfObjID: 1078, cached:no")
216216
assert (
217217
value
218-
== "session.ensight.objs.ENS_PART_MODEL(session, 1078,attr_id=1610612792, attr_value=0)"
218+
== "session.ensight.objs.ENS_PART_MODEL(session, 1078,attr_id=1610612795, attr_value=0)"
219219
)
220220
cmd.return_value = 3
221221
value = session._convert_ctor("Class: ENS_ANNOT, desc: 'Pressure', CvfObjID: 4761, cached:no")
222222
assert (
223223
value
224-
== "session.ensight.objs.ENS_ANNOT_LGND(session, 4761,attr_id=1610612991, attr_value=3)"
224+
== "session.ensight.objs.ENS_ANNOT_LGND(session, 4761,attr_id=1610612995, attr_value=3)"
225225
)
226226
cmd.return_value = 6
227227
value = session._convert_ctor("Class: ENS_TOOL, desc: 'Sphere', CvfObjID: 763, cached:no")
228228
assert (
229229
value
230-
== "session.ensight.objs.ENS_TOOL_SPHERE(session, 763,attr_id=1610613031, attr_value=6)"
230+
== "session.ensight.objs.ENS_TOOL_SPHERE(session, 763,attr_id=1610613035, attr_value=6)"
231231
)
232232
session._ensobj_hash = {i: i for i in range(10000000)}
233233
value = session._convert_ctor("Class: ENS_GLOBALS, CvfObjID: 221, cached:yes")

0 commit comments

Comments
 (0)