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

Refactors reprodata to make storage consistent #205

Merged
merged 4 commits into from
Oct 14, 2022
Merged

Refactors reprodata to make storage consistent #205

merged 4 commits into from
Oct 14, 2022

Conversation

pritchardn
Copy link
Collaborator

Originally, it was assumed that there would only be one rmode per graph, so the json was structured as {reprodata: {hash: x}} etc.
Allowing an 'ALL' mode added an extra layer to this - {reprodata: {RERUN: {hash: x}, REPEAT: {hash: x}}} etc.
This split the implementation into two branches - messy and difficult to follow.
This PR unifies the structure into {reprodata: {RMODE: {hash:x}}} even for a single rmode.

…ode] structure - rather than the implicit drop[reprodata][values] if singular and drop[reprodata][rmode] if all structure.
…ler and more changeable while testing the same conditions as before.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 80.755% when pulling 1f93cef on LIU-306 into 25fab6e on master.

@pritchardn pritchardn marked this pull request as ready for review October 11, 2022 03:20
Copy link
Contributor

@awicenec awicenec left a comment

Choose a reason for hiding this comment

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

Pretty extended changes in this PR, but seems all consistent and additional tests have been added as well.

@awicenec awicenec merged commit 8871be1 into master Oct 14, 2022
@awicenec awicenec deleted the LIU-306 branch October 14, 2022 11:46
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.

None yet

3 participants