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

Fix workflow for changing experiment #240

Merged
merged 9 commits into from
Mar 18, 2024
Merged

Conversation

NicolaCourtier
Copy link
Member

Description

Fix for issue #233. The current function was not being set during the call to set_params unless unmatched_parameters were present.

@NicolaCourtier NicolaCourtier linked an issue Mar 14, 2024 that may be closed by this pull request
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

Attention: Patch coverage is 95.65217% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 94.30%. Comparing base (2b238e4) to head (f2425ad).
Report is 21 commits behind head on develop.

Files Patch % Lines
pybop/models/base_model.py 93.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #240      +/-   ##
===========================================
+ Coverage    94.29%   94.30%   +0.01%     
===========================================
  Files           33       33              
  Lines         1753     1757       +4     
===========================================
+ Hits          1653     1657       +4     
  Misses         100      100              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@NicolaCourtier NicolaCourtier changed the title Update if statement Fix workflow for changing experiment Mar 18, 2024
Copy link
Member

@BradyPlanden BradyPlanden left a comment

Choose a reason for hiding this comment

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

Looks great — thanks for the fast bugfix @NicolaCourtier! A few small suggestions, happy for you to merge when ready.

pybop/models/base_model.py Show resolved Hide resolved
tests/integration/test_changes.py Outdated Show resolved Hide resolved
tests/integration/test_changes.py Outdated Show resolved Hide resolved
NicolaCourtier and others added 2 commits March 18, 2024 15:14
Co-authored-by: Brady Planden <55357039+BradyPlanden@users.noreply.github.com>
@NicolaCourtier NicolaCourtier merged commit cb73cec into develop Mar 18, 2024
31 checks passed
@NicolaCourtier NicolaCourtier deleted the 233-experiment-rebuild branch March 18, 2024 16:16
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.

Experiment breaks geometric fitting workflow
2 participants