Skip to content

Feat/yuanrui/enhanced images2 #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 78 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
65f07af
Finished the first version of enhanced image module
zhang-yuanrui Oct 4, 2024
f44b11d
Add a part name parameter to remove all hardcode
zhang-yuanrui Oct 4, 2024
19b6b6d
Reformat. Remove functions only for testing
zhang-yuanrui Oct 4, 2024
8bbede5
Simplify the code
zhang-yuanrui Oct 4, 2024
b9799cc
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Oct 9, 2024
fecbd74
Merge branch 'main' into feat/yuanrui/enhanced_images
zhang-yuanrui Oct 9, 2024
22ba889
Mark helper functions by appending '_'
zhang-yuanrui Oct 9, 2024
62e0ea8
Merge branch 'feat/yuanrui/enhanced_images' of github.com:ansys/pydyn…
zhang-yuanrui Oct 9, 2024
a72e6bd
Check package dependency
zhang-yuanrui Oct 9, 2024
07bb501
Backup _test_enhanced_images.py
zhang-yuanrui Oct 10, 2024
dc07365
properly teardown for in-mem version
zhang-yuanrui Oct 10, 2024
e4a7767
Switch to returning a buffer instead of an image
zhang-yuanrui Oct 11, 2024
b72274e
Finish testing.
zhang-yuanrui Oct 11, 2024
08f89db
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Oct 11, 2024
a1dfbf2
Add vtk and dpf dependency
zhang-yuanrui Oct 15, 2024
36b45b8
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Oct 15, 2024
a8c1936
Finish the initial test script for enhanced images
zhang-yuanrui Oct 15, 2024
622f1b5
Enable the test to install required packages
zhang-yuanrui Oct 16, 2024
6142549
reformat
zhang-yuanrui Oct 16, 2024
468e02b
Add # pragma: no cover; make all the helper functions under the modul…
zhang-yuanrui Oct 16, 2024
7c39895
Add a try catch block to bypass the test if there is no DPF server av…
zhang-yuanrui Oct 16, 2024
cea61fb
terminate the testing program if DPF server is not set
zhang-yuanrui Oct 16, 2024
143dd0a
Return None when DPF server is not found in the testing process
zhang-yuanrui Oct 16, 2024
cdab4b4
Remove unecessary import; Add pytest.mark decorations
zhang-yuanrui Oct 16, 2024
58715c8
Upgrade setuptools
zhang-yuanrui Oct 16, 2024
9844d92
skip 3.12
zhang-yuanrui Oct 17, 2024
fe4850b
rm a test file
zhang-yuanrui Oct 17, 2024
1fa7c40
Exclude dpf-core for python 3.12
zhang-yuanrui Oct 17, 2024
e23254c
Upgrade numpy for testing
zhang-yuanrui Oct 17, 2024
5af384c
Upgrade numpy in test
zhang-yuanrui Oct 17, 2024
d5eef71
Remove constraint for dpf-core
zhang-yuanrui Oct 17, 2024
95f835f
ignore extra testing files for enhanced images
zhang-yuanrui Oct 18, 2024
b26b23d
Move numpy version back to 1.25.1 and limit pyvista, vtk, dpf-core to…
zhang-yuanrui Oct 18, 2024
5719097
Remove numpy in [test]
zhang-yuanrui Oct 18, 2024
cbbbe54
Allow pyvista, vtk and dpf-core to run with python 3.12
zhang-yuanrui Oct 18, 2024
b603ec1
uncomment need smoke test
zhang-yuanrui Oct 21, 2024
314bb2e
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Oct 22, 2024
8fa2c35
1. Set background color to white. 2. Tracking the pick data in enhanc…
zhang-yuanrui Oct 22, 2024
ca2d00b
Support rotation by user inputting
zhang-yuanrui Oct 24, 2024
e9b66c3
merge conflicts
zhang-yuanrui Oct 30, 2024
cf7f51f
1. Fix the discontinuity bug by rounding up the pick data before cast…
zhang-yuanrui Nov 7, 2024
f88ff41
Add a 'component' parameter in the interfaces for users to input whic…
zhang-yuanrui Nov 8, 2024
7e20988
Reformat
zhang-yuanrui Nov 8, 2024
c0e9154
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Nov 8, 2024
d06dd1c
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Nov 12, 2024
ffa9abb
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Nov 14, 2024
7c2bd5e
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Nov 18, 2024
726fc94
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Nov 20, 2024
64752bb
1. Rephrase error messages. 2. Note the vtk bug in the comment. 3. Ad…
zhang-yuanrui Nov 20, 2024
69336ba
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Nov 28, 2024
53e8f0e
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Feb 13, 2025
7fd9d1e
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Feb 13, 2025
5ade257
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui May 5, 2025
c8d3f80
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui May 20, 2025
14145dc
Merge branch 'main' of github.com:ansys/pydynamicreporting into feat/…
zhang-yuanrui Jun 9, 2025
8ca531e
Support multiple var pages in a TIFF image
zhang-yuanrui Jun 12, 2025
28dc933
Cancel auto-decided var name. Let the user input instead.
zhang-yuanrui Jun 12, 2025
dd3afeb
Remove old function
zhang-yuanrui Jun 12, 2025
910d50f
Upgrade _generate_enhanced_image to only have one copy which supports…
zhang-yuanrui Jun 12, 2025
24d9b8f
Remove old funcion
zhang-yuanrui Jun 12, 2025
2cccafc
Support vector elemental data
zhang-yuanrui Jun 12, 2025
45a8110
Comment out multi var pages
zhang-yuanrui Jun 12, 2025
13b0e55
Reformat; remote prints
zhang-yuanrui Jun 12, 2025
f82d4a6
Make tests adapt to the new interfaces
zhang-yuanrui Jun 12, 2025
45af44b
Make in mem function compatible to the new design
zhang-yuanrui Jun 12, 2025
e749038
Reformat
zhang-yuanrui Jun 13, 2025
6e2a323
Revert and catch up
zhang-yuanrui Jun 17, 2025
a8b6d9a
Conflict resolved
zhang-yuanrui Jun 17, 2025
51f4ea2
Keep sync
zhang-yuanrui Jun 17, 2025
8e638fa
Remove prints
zhang-yuanrui Jun 17, 2025
f01d330
Use logging
zhang-yuanrui Jun 17, 2025
36047bf
Add a logging for verification
zhang-yuanrui Jun 17, 2025
e6714b0
reformat
zhang-yuanrui Jun 17, 2025
c6cf79a
Remove logging
zhang-yuanrui Jun 17, 2025
1541357
Update fixture to see if codecov can see the function body
zhang-yuanrui Jun 17, 2025
c612164
reformat
zhang-yuanrui Jun 17, 2025
014d0a7
Install DPF
zhang-yuanrui Jun 18, 2025
207404e
Reformat
zhang-yuanrui Jun 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: "Install DPF"
id: set-server-path
uses: ansys/pydpf-actions/[email protected]
with:
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
standalone_suffix: ${{ inputs.standalone_suffix }}
ANSYS_VERSION : ${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}

- name: Run pytest
run: make test
env:
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ ci = "https://github.com/ansys/pydynamicreporting/actions"
test = [
"pytest>=8.3.3",
"pytest-cov>=6.0.0",
]
test-extra = [
"pyvista==0.45.2",
"vtk==9.4.2",
"ansys-dpf-core==0.13.8",
Expand Down
Loading
Loading