Skip to content

Conversation

@Lala5th
Copy link

@Lala5th Lala5th commented Aug 1, 2020

Added cnpy-config.cmake.in so it would be easier to add using
find_package to other cmake projects.

I have tested this with a cmake project that depends on cnpy. It worked well on Linux for ~/.local as install dir.

Lala5th added 3 commits August 1, 2020 17:32
Added cnpy-config.cmake.in so it would be easier to add using 
find_package to other cmake projects.
I have implemented all write functionality (Maybe apart from tedious 
checking of dtype).
Read functionality might be possible, but I have not looked at that part 
of the code so I am unsure about the difficulty of the undertaking.
@Lala5th
Copy link
Author

Lala5th commented Aug 7, 2020

I have also added now functionality so custom, std::tuple arrays can be written, and appended to npy and npz, files with their custom created dtype descriptor. Created a secondary npy header parser for this. Preliminary tests seem to suggest it holds up well and does not cause issues.
Requires C++17 standard to compile and run against due to the way I implemented the variadic templates.

@Lala5th Lala5th changed the title Updated cmake. Added functionality to write tuple's as custom dtypes Aug 7, 2020
@Lala5th Lala5th changed the title Added functionality to write tuple's as custom dtypes Added functionality to write tuples as custom dtypes Aug 10, 2020
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.

1 participant