Skip to content

Conversation

atztogo
Copy link
Collaborator

@atztogo atztogo commented Sep 25, 2023

Add Fortran interface and Fortran interface tests

  • Added spg_get_magnetic_spacegroup_type Fortran interface
  • Added spg_get_magnetic_spacegroup_type Fortran interface test
  • Added spg_get_spacegroup_type Fortran interface test

Formatted spglib_f08.F90 by fprettify -i 4 spglib_f08.F90.

* Added spg_get_magnetic_spacegroup_type Fortran interface
* Added spg_get_magnetic_spacegroup_type Fortran interface test
* Added spg_get_spacegroup_type Fortran interface test
@LecrisUT
Copy link
Collaborator

Can you add fprettify to .pre-commit-config.yaml, i.e.:

  - repo: https://github.com/pseewald/fprettify
    rev: v0.3.7
    hooks:
      - id: fprettify
        args: [ '-i', '4' ]

@atztogo
Copy link
Collaborator Author

atztogo commented Sep 25, 2023

Can you add fprettify to .pre-commit-config.yaml, i.e.:

I made it. Thanks. This is helpful.

@atztogo
Copy link
Collaborator Author

atztogo commented Sep 25, 2023

@LecrisUT, do you think I can merge this PR though two tests fail?

@LecrisUT
Copy link
Collaborator

Yes, but wait for me to review this

@atztogo atztogo requested a review from LecrisUT September 26, 2023 19:39
@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2023

Codecov Report

Attention: 40 lines in your changes are missing coverage. Please review.

Comparison is base (9f2d02d) 82.99% compared to head (ea318c7) 83.53%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #337      +/-   ##
===========================================
+ Coverage    82.99%   83.53%   +0.53%     
===========================================
  Files           24       24              
  Lines         8140     8157      +17     
===========================================
+ Hits          6756     6814      +58     
+ Misses        1384     1343      -41     
Flag Coverage Δ
c_api 76.10% <ø> (ø)
fortran_api 54.97% <81.30%> (+1.51%) ⬆️
python_api 80.42% <ø> (ø)
unit_tests 1.24% <ø> (ø)

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

Files Coverage Δ
fortran/spglib_f08.F90 80.93% <81.30%> (+22.34%) ⬆️

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

@atztogo atztogo merged commit 02a58c6 into develop Sep 27, 2023
@atztogo atztogo deleted the magspg-type branch September 27, 2023 05:52
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.

3 participants