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

PDOS String Reads labels #51

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from

Conversation

ajm143
Copy link
Contributor

@ajm143 ajm143 commented Mar 9, 2022

This is a first draft of pdos string reading labels as well as atom species. It is an attempt to solve Issue #31 . Expected behaviour:

  • PDOS: "Si:Exi" --> Match only the Si that is labelled Exi
  • PDOS: "Si" --> Match all the Si that are not labelled Exi
  • PDOS: Si --> Match all of the Si regardless of label or not.

I have made extensive use of the test-suite to catch as many different scenarios as I can. Fresh eyes are valuable now.

N.B. This includes PR #48 as I required a working test suite. I suggest we accept #48 first.

ajm143 and others added 18 commits February 17, 2022 09:35
…tring which made it difficult to manage. I've made it a subroutine of the module -- it still passes the test suite, and I can't see a reason why it was so.
…d what's inside them, i.e. Si:exi, and will get upset.
…to learn that C matches C:exi and C matches C only.
- Added hyperlinks to aid navigation (why not)
- Listed the new compilers, and depricated the ones that TCM can no longer support.
- Updated the description ofthe PDOS string to include labels
- Added a new checkpoint. GaAs which has two labels
- Added the testopt_pdos_Ga_label to the test suite to test more pdos_string handling
- Solved some over-long lines in projection_utils
@ajm143 ajm143 requested a review from jryates March 9, 2022 11:32
@ajm143 ajm143 linked an issue Mar 9, 2022 that may be closed by this pull request
@ajm143 ajm143 assigned ajm143 and jryates and unassigned ajm143 Nov 23, 2022
@jryates
Copy link
Member

jryates commented Mar 22, 2023

@ajm143 we are getting three tests failing.

All done. ERROR: only 30 out of 33 tests passed.
Failed tests in:
	/Users/yates/Documents/CODE/optados/optados/test-suite/tests/testopt_pdos_match_inc_label
	/Users/yates/Documents/CODE/optados/optados/test-suite/tests/testopt_pdos_match_label
	/Users/yates/Documents/CODE/optados/optados/test-suite/tests/testopt_pdos_match_not_label

These all use:
Si2.pdos_fmt.bz2 -> ../../checkpoints/Si2_core/Si2.pdos_fmt.bz2

I have reproduced this with gfortran on osx and ifort in TCM. The pdos spectra are a bit different. I suspect something has got mixed up in your benchmarks - however, it would be best if you can repeat and confirm.

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.

PDOS Output Gets muddled with Labelled Atoms i.e. C:exi
2 participants