-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update versions and switch build system #23
Conversation
…o pip from pyproject.toml
yo @cjbattey! thanks for doing this. I'll definitely look through it in the next day or so. seems like a lot of code moved here-- mostly auto-reformatting? |
Thanks! Yes, almost all black reformat and build stuff. popvae.py also moved to the top level directory to work with the new build system. But there were no changes in popvae.py code other than import commands to work with a newer Keras version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hit an error running the test example using the --seed
flag. I think it's a simple enough fix @cjbattey
@andrewkern oops, sorry about that. Fixed now, and I added a |
This PR updates python, all dependency versions, the build system, and installation instructions to address #22. This setup worked for a fresh install on an M3 MacBook, using mamba for the virtual environment. There are no changes to analytical code.
Sorry about the size of the PR -- it's mostly build stuff and
black
reformatting the code. The relevant changes for installation are switchingsetup.py
topyproject.toml
, README updates, and some minor refactors ofplotvae.py
to work with a newer version ofbokeh
.Changes:
python setup.py install
topip install ./
for package installationI tried to get this working with smaller tweaks I think five separate times and kept getting sucked in to more and more confusing dependency issues. But python 3.7 and tensorflow 1 are old enough to be dropping off pip, so have to update. I think (hope) this one will work.
@andrewkern , any chance you or someone in the lab could give this a shot and see if they can install and run the test data?