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

Fixes - Parallel errors, extension for Windows, import errors, path #8

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

TheGreatFox
Copy link

This pull request is larger than than expected:

  • Some gitignore additions
  • Import errors related to: mayavi and multiprocessing
  • Initial implementation of pathlib on pycommand quantum-honeycomp.py
  • Rename quantum-honeycomp to quantum-honeycomp.py to allow for operation on Windows.
  • Change /tmp folder to tmp folder in the root directory of the program. /tmp does not exist on Windows machines and the data stored is small.
  • Minor formatting changes (pep8 standard) on py-command and quantum-honeycomp.py. Improves readability of code.
  • Switch from os.system execution of python to subprocess execution (improves error checking to the function level).

The major feature is that this would allow for operation on Windows machines, once the user has already installed Anaconda with the appropriate libraries. There are still some errors with viewing 3D objects.

Tested with Windows and Ubuntu VM, but please check on Mac and your own Ubuntu VM to see if there is some unintended behavior.

@TheGreatFox
Copy link
Author

Then updates to the documentation for Windows users:

  1. Install Anaconda Python (https://www.anaconda.com/products/individual).
  2. Install Git.
  3. Open Anaconda Powershell and run:
  4. cd .\Users\YOUR_USERNAME_HERE\Downloads
  5. cd .\quantum-honeycomp\
  6. conda create -n quantum-honeycomp mayavi numba configobj traits pyface apptools traitsui envisage vtk
  7. conda activate quantum-honeycomp
  8. python .\install.py
  9. python .\bin\quantum-honeycomp.py

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.

None yet

1 participant