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

Avoid branching in info #277

Merged
merged 1 commit into from
Aug 30, 2019
Merged

Conversation

bouthilx
Copy link
Member

Why:

When something is different in the environment, the experiment may
branch since we are not using a View in info. We should rather use a
view but for now they don't have access to instantiated space and
algorithms which are required by info.

How:

Use a view and reconfigure it to instantiate the space and algo. This is
not done by default in View because they crash if the users scripts in
the experiment are not present on the current FS. At least now this only
happens in info, which was already the case anyway since we were not
using a View.

@bouthilx bouthilx added bug Indicates an unexpected problem or unintended behavior v0.1.6 labels Aug 29, 2019
@bouthilx bouthilx requested a review from Delaunay August 29, 2019 20:01
Why:

When something is different in the environment, the experiment may
branch since we are not using a `View` in `info`. We should rather use a
view but for now they don't have access to instantiated space and
algorithms which are required by `info`.

How:

Use a view and reconfigure it to instantiate the space and algo. This is
not done by default in `View` because they crash if the users scripts in
the experiment are not present on the current FS. At least now this only
happens in `info`, which was already the case anyway since we were not
using a `View`.
@bouthilx bouthilx force-pushed the hotfix/info_branching branch from 88e7b02 to 45001ac Compare August 30, 2019 02:22
@bouthilx
Copy link
Member Author

@bouthilx bouthilx merged commit 635a54b into Epistimio:develop Aug 30, 2019
@bouthilx bouthilx mentioned this pull request Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants