Skip to content

Update calc quality and fingerprints usage#331

Merged
JaGeo merged 11 commits intoJaGeo:mainfrom
naik-aakash:update_calc_quality
Sep 11, 2024
Merged

Update calc quality and fingerprints usage#331
JaGeo merged 11 commits intoJaGeo:mainfrom
naik-aakash:update_calc_quality

Conversation

@naik-aakash
Copy link
Copy Markdown
Collaborator

@naik-aakash naik-aakash commented Sep 11, 2024

Closes #325

Changes

  1. DosFingerprints usage has been adapted to accommodate latest pymatgen changes
  2. pin pymatgen>=2024.9.10
  3. Remove redundant namedtuple instance of DosFingerprints from Lobsterpy (Has been moved to pymatgen in recent changes. See DOS Fingerprints enhancements materialsproject/pymatgen#3946)
  4. Drop python 3.9 support > pymatgen dropped it in its latest release
  5. Fix coverage not being uploaded. (issue : https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes , explicitly ignoring hidden files in uploads)

@naik-aakash naik-aakash marked this pull request as draft September 11, 2024 07:33
@naik-aakash naik-aakash changed the title Update calc quality and fingerprints usage [WIP] Update calc quality and fingerprints usage Sep 11, 2024
@naik-aakash naik-aakash self-assigned this Sep 11, 2024
@naik-aakash naik-aakash added the bug Something isn't working label Sep 11, 2024
@naik-aakash naik-aakash marked this pull request as ready for review September 11, 2024 10:43
@naik-aakash naik-aakash changed the title [WIP] Update calc quality and fingerprints usage Update calc quality and fingerprints usage Sep 11, 2024
@naik-aakash
Copy link
Copy Markdown
Collaborator Author

Hi @JaGeo, this PR is ready to be merged.

@JaGeo JaGeo merged commit a98d1be into JaGeo:main Sep 11, 2024
@janosh
Copy link
Copy Markdown

janosh commented Sep 29, 2024

can we get a new release with these changes for materialsproject/atomate2#990. CI currently failing with

>               fp_lobster_orb = dos_lobster.get_dos_fp(
                    min_e=min_e,
                    max_e=max_e,
                    n_bins=n_bins,
                    normalize=True,
                    type=orb.name,
                )
E               TypeError: CompleteDos.get_dos_fp() got an unexpected keyword argument 'type'

@JaGeo
Copy link
Copy Markdown
Owner

JaGeo commented Sep 29, 2024

Yes, sure, we can. I thought we had taken care of it already. Sorry

@JaGeo
Copy link
Copy Markdown
Owner

JaGeo commented Sep 29, 2024

Should be done, @janosh .

@janosh
Copy link
Copy Markdown

janosh commented Sep 29, 2024

@JaGeo
Copy link
Copy Markdown
Owner

JaGeo commented Sep 29, 2024

Yeah. Saw it just now ....

@JaGeo
Copy link
Copy Markdown
Owner

JaGeo commented Sep 29, 2024

@janosh done. Release workflow still used Python 3.9... 😉

@naik-aakash
Copy link
Copy Markdown
Collaborator Author

Ops, I somehow overlooked that 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calc quality analysis needs to be updated

3 participants