Skip to content

Add SpglibDataset and SpglibMagneticDataset and dataclass#490

Merged
lan496 merged 3 commits intospglib:developfrom
lan496:dataclass-spglib-dataset
Jun 10, 2024
Merged

Add SpglibDataset and SpglibMagneticDataset and dataclass#490
lan496 merged 3 commits intospglib:developfrom
lan496:dataclass-spglib-dataset

Conversation

@lan496
Copy link
Copy Markdown
Member

@lan496 lan496 commented May 12, 2024

Introduces dataclasses.dataclass for get_symmetry_dataset and get_magnetic_symmetry_dataset in Python API.

@codecov
Copy link
Copy Markdown

codecov bot commented May 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.90%. Comparing base (0030689) to head (6fa652e).
Report is 54 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #490   +/-   ##
========================================
  Coverage    83.90%   83.90%           
========================================
  Files           25       25           
  Lines         8184     8184           
  Branches      1701     1701           
========================================
  Hits          6867     6867           
  Misses        1317     1317           
Flag Coverage Δ
c_api 74.78% <ø> (ø)
fortran_api 56.19% <ø> (ø)
python_api 80.35% <ø> (ø)
unit_tests 13.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lan496 lan496 marked this pull request as ready for review May 12, 2024 03:17
@lan496 lan496 requested a review from LecrisUT May 12, 2024 03:17
@lan496 lan496 mentioned this pull request Jun 7, 2024
4 tasks
Copy link
Copy Markdown
Collaborator

@LecrisUT LecrisUT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I had this pending review, but forgot to hit submit review. Only 1 minor note

@lan496 lan496 requested a review from LecrisUT June 8, 2024 23:26
@lan496
Copy link
Copy Markdown
Member Author

lan496 commented Jun 9, 2024

@LecrisUT
Copy link
Copy Markdown
Collaborator

LecrisUT commented Jun 9, 2024

Fedora 40 was released so F38 was retired. This changes every 6 months unfortunately

@lan496
Copy link
Copy Markdown
Member Author

lan496 commented Jun 10, 2024

I see. I've updated the branch protection rule.

@lan496 lan496 merged commit 9d86d26 into spglib:develop Jun 10, 2024
@lan496 lan496 deleted the dataclass-spglib-dataset branch June 10, 2024 09:58
@LecrisUT LecrisUT linked an issue Jul 2, 2024 that may be closed by this pull request
@LecrisUT LecrisUT added this to the 2.5 milestone Jul 2, 2024
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.

dataclass output for Python API

2 participants