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

Comparer further refactoring #179

Merged
merged 10 commits into from
Apr 7, 2023
Merged

Comparer further refactoring #179

merged 10 commits into from
Apr 7, 2023

Conversation

ecomodeller
Copy link
Member

And data without a kind attribute are auxilliary variables.

@ecomodeller ecomodeller changed the title Create raw_mod_data Comparer further refactoring Apr 4, 2023
@ecomodeller ecomodeller marked this pull request as ready for review April 4, 2023 17:09
@ecomodeller ecomodeller requested a review from jsmariegaard April 4, 2023 17:09
self.data = matched_data
self.raw_mod_data = raw_mod_data
self.raw_mod_data = (
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't raw_mod_data be None if not provided?

Copy link
Member Author

Choose a reason for hiding this comment

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

None shall pass!

@@ -479,6 +479,20 @@ def __init__(
if not df.index.is_unique:
df.index = make_unique_index(df.index, offset_duplicates=offset_duplicates)

# TODO is this needed elsewhere?
Copy link
Member

Choose a reason for hiding this comment

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

x_item and y_item should be parsed (and renamed) in the same way for track modelresults and track observations. But not necessarily the task of this PR.

Copy link
Member

@jsmariegaard jsmariegaard left a comment

Choose a reason for hiding this comment

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

Looks good. See comments. Feel free to merge if you like :-)

@ecomodeller ecomodeller merged commit f5773b5 into main Apr 7, 2023
@ecomodeller ecomodeller deleted the aux branch April 7, 2023 06:51
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