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

Transformations: Test and fix corner case in get_local_arrays #355

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

mlange05
Copy link
Collaborator

@mlange05 mlange05 commented Aug 2, 2024

Note: This is a small bug fix to #354 that was overlooked and is currently breaking H24-physics regression.

When running get_local_arrays over the spec of a subroutine we were erroneously picking up component arrays of derived-type arguments that were used for shape definitions. This extends the test for this corner case and fixes it.

When running get_local_arrays over the spec of a subroutine we
were erroneously picking up component arrays of derived-type
arguments that were used for shape definitions. This extends
the test for this corner case and fixes it.
@mlange05 mlange05 requested a review from awnawab August 2, 2024 13:00
Copy link

github-actions bot commented Aug 2, 2024

Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/355/index.html

Copy link

codecov bot commented Aug 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.36%. Comparing base (7d56565) to head (5045915).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #355   +/-   ##
=======================================
  Coverage   95.36%   95.36%           
=======================================
  Files         173      173           
  Lines       36896    36900    +4     
=======================================
+ Hits        35185    35189    +4     
  Misses       1711     1711           
Flag Coverage Δ
lint_rules 96.39% <ø> (ø)
loki 95.34% <100.00%> (+<0.01%) ⬆️

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.

Copy link
Contributor

@awnawab awnawab left a comment

Choose a reason for hiding this comment

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

Neatly fixed and tested, looks g2g 👌 The macos test failure seems unrelated, I don't think it should block this PR. I'll have a look at debugging that one next week.

@mlange05 mlange05 merged commit 117c5d1 into main Aug 2, 2024
13 checks passed
@mlange05 mlange05 deleted the naml-fix-get-local-arrays branch August 2, 2024 14:17
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.

2 participants