weria-pezeshkian / TS2CG1.2

TS2CG version 1.2
GNU General Public License v3.0
4 stars 2 forks source link

Improvements to PUC module #8

Closed jan-stevens closed 1 month ago

jan-stevens commented 1 month ago

Hi all,

I rewrote the wrapper function that chooses to either run the C++ binaries or the Python 'modules.' I renamed this to the 'run_modules', so that in the future it will be easy to add further python functionality to TS2CG.

Lastly, I also moved the argument parsing of the Point Updating Class (PUC) to the class itself so that the overall structure is the same for both the C++ and Python modules.

Let me know what you think.

jan-stevens commented 1 month ago

I also fixed the issue with the Numpy requirement, which was not correctly resolved previously.

I think it would be best to add al the build and install requirements in one place, the easiest place is the 'pyproject.toml'