Skip to content

Major structure refactoring#68

Merged
RemDelaporteMathurin merged 11 commits into
mainfrom
structure
Dec 9, 2024
Merged

Major structure refactoring#68
RemDelaporteMathurin merged 11 commits into
mainfrom
structure

Conversation

@RemDelaporteMathurin
Copy link
Copy Markdown
Collaborator

I would like to merge #65 before looking at this.

This PR is a big refactor of the all_bin_scenario.py example script.

It introduces a Model class that ties in everything: bins, plasma data handling class, and scenario.

This class has a method run_bin that takes a Bin object that returns the FESTIM model that was run and the derived quantities.

This greatly simplifies running bins and makes it easier for end-users to adapt the Model class to their specific needs.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated no suggestions.

@RemDelaporteMathurin RemDelaporteMathurin marked this pull request as ready for review December 8, 2024 20:30
@RemDelaporteMathurin RemDelaporteMathurin merged commit 1aa5e5f into main Dec 9, 2024
@RemDelaporteMathurin RemDelaporteMathurin deleted the structure branch December 9, 2024 19:35
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.

2 participants