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

fix: pass grid instead of grid.dcline #645

Merged
merged 1 commit into from
Jun 3, 2022
Merged

fix: pass grid instead of grid.dcline #645

merged 1 commit into from
Jun 3, 2022

Conversation

jenhagg
Copy link
Collaborator

@jenhagg jenhagg commented Jun 3, 2022

Purpose

I got an error using calculate_dcline_difference since it checks that the parameters are Grid instances. We use other grid attributes within that function, so we simply pass the grid object (instead of removing the type check).

What the code is doing

Pass full grid object.

Testing

Manually in a container. I ended up with a different error due to having an empty grid.dcline but that is not surprising.

Time estimate

2 min

@jenhagg jenhagg self-assigned this Jun 3, 2022
@jenhagg jenhagg requested review from BainanXia and rouille June 3, 2022 19:33
Copy link
Collaborator

@BainanXia BainanXia left a comment

Choose a reason for hiding this comment

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

Make sense.

@jenhagg jenhagg merged commit 0310977 into develop Jun 3, 2022
@jenhagg jenhagg deleted the jen/dcline branch June 3, 2022 19:40
@jenhagg jenhagg mentioned this pull request Aug 17, 2022
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