-
Notifications
You must be signed in to change notification settings - Fork 868
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
Breaking: fix SubstrateAnalyzer film + substrate vectors not using original crystal coordinates #3572
Merged
Merged
Breaking: fix SubstrateAnalyzer film + substrate vectors not using original crystal coordinates #3572
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
bf3c728
Fix the problem that the film vectors and substrate vectors were not …
jinlhr542 8ef1963
pre-commit auto-fixes
pre-commit-ci[bot] 64c37be
breaking: make film + substrate args of generate_surface_vectors()
janosh 193107a
add test_generate_surface_vectors
janosh de70b7a
fix missing doc str white space
janosh b9463b7
Merge branch 'master' into pr/jinlhr542/3572
janosh 332a355
loosen atol in test_generate_surface_vectors
janosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
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.
you can assign this to a variable to not have to repeat it 4 times
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.
Sorry for replying late for I was leaving back home recently. I am new with Github. Could you please tell me how can I change the file directly in this 'issue' page? or should I make another pull request?
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 have tried several times to interpret your above description, but it seems that in the end, I still do not quite understand your intention.
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.
@hongyi-zhao i just meant intermediate variables with shorter names can make the code more readable here. but the main thing missing is a test.
@jinlhr542 how did you create your PR? usually people clone the repo, make local edits, push them to a fork and make a PR. if you add commits to your fork, they'll show up in this PR. you can also use GH web and edit your PR online by simply pressing
.
while on this pageThere 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.
@janosh
What about the following modified version?
How about the following as a starting point?
For revising a already submitted PR, I noticed the following locally based method:
We can find the above prompt as represented below:
I haven't used this feature yet, but it sounds very convenient. Below are some related introductions: