Skip to content

Rerun experiments enhancement#302

Merged
sroderick-g5sro merged 6 commits intomasterfrom
230-rerun-experiments
Oct 20, 2020
Merged

Rerun experiments enhancement#302
sroderick-g5sro merged 6 commits intomasterfrom
230-rerun-experiments

Conversation

@sroderick-g5sro
Copy link
Copy Markdown
Contributor

Fixes #230

Comment thread weblab/entities/processing.py Outdated
'protocol_id': expt.protocol_id,
'protocol_version': expt.protocol_version.sha,
entity.other_type: other_entity,
other_entity + '_version': other_version.sha,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This line errors with TypeError: unsupported operand type(s) for +: 'ProtocolEntity' and 'str'. I wonder if the fix is as simple as wrapping other_entity in str()?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ah, no, I think it should be entity.other_type + '_version' sorry!

@sroderick-g5sro sroderick-g5sro changed the title Initial write of rerun experiments enhancement Rerun experiments enhancement Oct 16, 2020
Copy link
Copy Markdown
Contributor

@jonc125 jonc125 left a comment

Choose a reason for hiding this comment

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

Looks good! I've suggested a few minor style/documentation tweaks. No need to get a re-review once those are done though.

Comment thread weblab/entities/processing.py Outdated
Comment thread weblab/entities/tests/test_views.py Outdated
Comment thread weblab/entities/tests/test_views.py Outdated
sroderick-g5sro and others added 4 commits October 16, 2020 16:59
Co-authored-by: Jonathan Cooper <j.p.cooper@ucl.ac.uk>
Co-authored-by: Jonathan Cooper <j.p.cooper@ucl.ac.uk>
@sroderick-g5sro sroderick-g5sro merged commit 0173f5c into master Oct 20, 2020
@sroderick-g5sro sroderick-g5sro deleted the 230-rerun-experiments branch October 20, 2020 11:00
MauriceHendrix pushed a commit that referenced this pull request Jul 22, 2021
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.

Rerun experiments re-runs on all previous versions of model/protocol instead of just latest

2 participants