This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Changed scripts to run in Python 3#2
Open
Jennie-Martin wants to merge 5 commits intolab-cosmo:masterfrom
Open
Conversation
…_run to match gch_init, and altered README
|
Ciao Jenny sorry for the slow response rate. It would help a lot - both me checking this PR and others trying to use this code - if you would add a folder with a mini-example that one can run. Could you try that? |
|
Hi Jenny, this works well. I would just change the kernel generation routines to start from |
Author
|
Hi Michele, I think the kernel generation script should be fixed now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syntax alteration to work in Python 3. Also updated README and comments in gch_init.py to edit incorrect statements (number of structures in shaketraj.xyz and math error/typo in way --conv argument works) and changed default of -wdir in gch_run to 'tmp' to match new default in gch_init
I'm not sure what's going on with the automatic 'edit detection' for lib_gch.py that appears to suggest I've altered the indentation of lines 681 and 690. If you manually compare my lib_gch.py to the orginal lib_gch.py , this shows that indentation level is unaltered as far as I can tell. These lines had tabs rather than spaces in the original (the rest of the script has spaces) so I think I had to replace tabs with spaces and it should result in the same thing -indented to the same level but you might need to check.