Skip to content

Add BPX support - #246

Merged
NicolaCourtier merged 13 commits into
developfrom
79-bpx-support
Apr 5, 2024
Merged

Add BPX support#246
NicolaCourtier merged 13 commits into
developfrom
79-bpx-support

Conversation

@NicolaCourtier

@NicolaCourtier NicolaCourtier commented Mar 19, 2024

Copy link
Copy Markdown
Member

Description

Add support for importing BPX JSON files as parameter sets.

Issue reference

Adds feature request #79.

Type of change

  • New Feature: A non-breaking change that adds new functionality.

@NicolaCourtier NicolaCourtier linked an issue Mar 19, 2024 that may be closed by this pull request
@codecov

codecov Bot commented Mar 19, 2024

Copy link
Copy Markdown

Codecov Report

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

Project coverage is 95.42%. Comparing base (9dbf1fa) to head (3a10ea7).
Report is 1 commits behind head on develop.

Files Patch % Lines
pybop/models/empirical/ecm.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #246      +/-   ##
===========================================
+ Coverage    95.35%   95.42%   +0.07%     
===========================================
  Files           36       36              
  Lines         1979     1990      +11     
===========================================
+ Hits          1887     1899      +12     
+ Misses          92       91       -1     

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

@NicolaCourtier NicolaCourtier changed the title [WIP]: Add BPX support Add BPX support Mar 21, 2024

@BradyPlanden BradyPlanden left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the addition @NicolaCourtier, on a whole this looks great! I've made two small comments that are worth investigating before merging. Let me know what you think.

Comment thread pybop/parameters/parameter_set.py
Comment thread pyproject.toml

@BradyPlanden BradyPlanden left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank @NicolaCourtier.

LGTM, just one suggestion on the unit tests.

Comment thread tests/unit/test_models.py Outdated
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.

Add BPX support

2 participants