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

Remove experiment_has_run function from the workspace module #2311

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

verveerpj
Copy link
Contributor

Issue
Resolves #2275

Approach
The experiment_has_been_run function essentially checks if the experiment is present in storage. It is essentially a simple check. Unless that function would do more fancy things, I think it is not necessary. It would have to be located in the storage module, where it would feel out of place. Renaming it to something like has_experiment may be an option, but I opted for just removing it and using the tests directly.

@verveerpj verveerpj self-assigned this Nov 4, 2021
@verveerpj verveerpj changed the title Experiment has run Remove experiment_has_run function from the workspace module Nov 4, 2021
@verveerpj verveerpj force-pushed the experiment_has_run branch 2 times, most recently from 9730276 to f0e2d3f Compare November 5, 2021 06:17
@verveerpj verveerpj force-pushed the experiment_has_run branch 6 times, most recently from cd7e6d4 to a4c09a3 Compare November 8, 2021 15:34
@equinor equinor deleted a comment from ertomatic Nov 9, 2021
@verveerpj
Copy link
Contributor Author

Jenkins, test this please

Copy link
Collaborator

@sondreso sondreso left a comment

Choose a reason for hiding this comment

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

I agree with the approach here, LGTM 🚢

@verveerpj verveerpj merged commit 2ca38d3 into main Nov 9, 2021
@verveerpj verveerpj deleted the experiment_has_run branch November 9, 2021 08:42
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.

Move the notion of storage out of the workspace module
2 participants