Skip to content
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

doesn't automatically generate C_lut.npy upon install #17

Open
gcadenazzi opened this issue Jul 31, 2020 · 4 comments
Open

doesn't automatically generate C_lut.npy upon install #17

gcadenazzi opened this issue Jul 31, 2020 · 4 comments

Comments

@gcadenazzi
Copy link

Not sure if this is the right place to mention this but I cloned this repo and installed it and it didn't automatically generate the C_lut.npy lookup table.

I had to go into complex_colormap/complex_colormap and run generate.py

I'm not sure if this is the intended behaviour or not.

@endolith
Copy link
Owner

Yeah I think that's how it has to be done. It's a pretty big file, right? It could probably be generated automatically on first import or something like that.

@gcadenazzi
Copy link
Author

ah ok - understood... yeah it generates an 8.1MB file so maybe it's best to leave it to the user to generate the colormap. Although, as you said, maybe it's a good idea to have this automatically generated the first time the module is imported.

@endolith
Copy link
Owner

endolith commented Aug 3, 2020

Yeah, or come up with a more space-efficient way to store it in the repo: #10

@endolith
Copy link
Owner

endolith commented Aug 3, 2020

If you know how to do a post-install whatever for setup.py feel free to work on making it automatic. I don't have any experience with such things so I'll have to learn it.

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

No branches or pull requests

2 participants