-
Notifications
You must be signed in to change notification settings - Fork 14
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
Aggregation_id #222
Aggregation_id #222
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
src/fmu/dataio/dataio.py
Outdated
aggregation_id: Give an explicit ID for the aggregation. If None, or not | ||
provided, an automatic ID based on existing realization uuid will be made. | ||
Default is None which means it will be missing (null) in the metadata. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is self-contradicting here. What will None actually give?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarified
src/fmu/dataio/dataio.py
Outdated
stringinput += xuuid | ||
|
||
return uuid_from_string(stringinput) | ||
return str(uuid_from_string(stringinput)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it would be better if the uuid_from_string
function do the str() conversion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review comments first; otherwise ok
Solving #221
aggregation_id
aggregation_id
is now a stringaggregation_id
is now independent of sorting (same input give same output, regardless of input sorting)