Skip to content

Added ability to read wavefrontPro wavefront files#341

Open
gr5 wants to merge 7 commits intomasterfrom
wfpro
Open

Added ability to read wavefrontPro wavefront files#341
gr5 wants to merge 7 commits intomasterfrom
wfpro

Conversation

@gr5
Copy link
Collaborator

@gr5 gr5 commented Feb 7, 2026

The DFTF user interface barely changes. I just added .npz to .wft as types of files to open and the code I added is called from all the places wavefront files are opened so I didn't have to change existing DFTF code much at all. Mostly I just added the code that reads this new format.

This change required adding to files in the .cnpy subfoder - this is the cnpy library (just 2 files) that can read npz "number python zipped) formatted files.

Also cnpy uses the zip library that zips and unzips files so I had to add "-lz" in project files to link to zlib library which comes standard with mingw. At the moment I only tested with QT5 and QT6. Creating this PR will let me know if this all works for the github automated builds as well.

gr5 added 3 commits January 28, 2026 21:40
…ro wavefront files.

So far it's working (win qt6 only).
edit the other 2 project files
do more testing in response to upcoming changes to wavefrontpro by jaco
for the Dale project file and the non-windows use of the project file and
the QT5 build project file.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-tidy v18.1.3

Only 7 out of 9 clang-tidy concerns fit within this pull request's diff.

Have any feedback or feature suggestions? Share it here.

@github-actions
Copy link

github-actions bot commented Feb 7, 2026

🚀 New build available for commit b9b005f
Download installer here

@gr5
Copy link
Collaborator Author

gr5 commented Feb 7, 2026

This isn't quite ready to review.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-tidy v18.1.3

Only 7 out of 9 clang-tidy concerns fit within this pull request's diff.

Have any feedback or feature suggestions? Share it here.

@github-actions
Copy link

github-actions bot commented Feb 7, 2026

🚀 New build available for commit 44a4638
Download installer here

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-tidy v18.1.3

Only 6 out of 8 clang-tidy concerns fit within this pull request's diff.

Have any feedback or feature suggestions? Share it here.

@github-actions
Copy link

github-actions bot commented Feb 7, 2026

🚀 New build available for commit 657b91b
Download installer here

@gr5
Copy link
Collaborator Author

gr5 commented Feb 7, 2026

@atsju, I fixed the memory leaks and I added the following change to build-linux-clazy.yml (screenshot below) but it is still giving me clang errors. I added this exclusion because cnpy is a library I downloaded and it's not my code.

Does build-linux-clazy have to be merged with master before it is used by git? or am I doing something else wrong?

image

…to go away the first time. Hopefully this is the right spot.
@github-actions
Copy link

github-actions bot commented Feb 8, 2026

🚀 New build available for commit 12add2a
Download installer here

@gr5
Copy link
Collaborator Author

gr5 commented Feb 8, 2026

@atsju - nevermind. I figured it out.

@gr5
Copy link
Collaborator Author

gr5 commented Feb 8, 2026

Ok, dale. This is ready for you to review.

@atsju
Copy link
Collaborator

atsju commented Feb 8, 2026

Hi,
Nice to see you figured the build process out while I was sleeping.

May I ask for a very small addition so that cnpy copyright gets distributed ?

Add a copyright line to this file : https://github.com/githubdoe/DFTFringe/blob/wfpro/LICENSES/MIT.txt
This is what get copied into the installer.

For homogeneity reasons you can also copy the original MIT licence from cnpy into the new cnpy folder.

I wish you an excellent weekend !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants