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

Allow branching when parent script isn't available #625

Merged

Conversation

bouthilx
Copy link
Member

[Fixes #553]

Why:

Suppose we want to branch from a parent running from a different
computer, or for which we lost the execution script. The branching
should not fail because script is missing, we do not need it because we
wont execute trials from the parent anyway.

How:

Use allow_non_existing_files=True when building the cmdline parser to
compare cmdlines of experiments.

Why:

Suppose we want to branch from a parent running from a different
computer, or for which we lost the execution script. The branching
should not fail because script is missing, we do not need it because we
wont execute trials from the parent anyway.

How:

Use allow_non_existing_files=True when building the cmdline parser to
compare cmdlines of experiments.
The parent may have a script configuration file that is missing at the
time of branching. Branching should not fail in such case and rely on
the saved content of the configuration file to verify changes.
@bouthilx bouthilx added the bug Indicates an unexpected problem or unintended behavior label Jul 23, 2021
@bouthilx bouthilx added this to the v0.1.16 milestone Jul 23, 2021
@bouthilx bouthilx merged commit 7ba8c89 into Epistimio:develop Jul 23, 2021
@bouthilx bouthilx deleted the hotfix/branch_with_parent_missing_files branch July 23, 2021 16:03
@bouthilx bouthilx mentioned this pull request Aug 23, 2021
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.

EVC crashes when main script is not found on file system
1 participant