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

Split Model into subclasses #13

Merged
merged 1 commit into from
Jul 28, 2024
Merged

Split Model into subclasses #13

merged 1 commit into from
Jul 28, 2024

Conversation

pabloitu
Copy link
Collaborator

ft: separated Model class into subclasses TimeIndependent and TimeDep…endent, with corresponding methods related to their execution nature.
tests: adapted test to new Model subclasses
sty: formatted code to black -l 96, flake8 and pydocstring
ft: created a ModelFactory class, which should handle the type of model instantiation.
refac: changed TimeIndependentModel arg use_db to store_db
rep: removed obsolete files
build: homogenized dev requirements in setup.cfg and requirements_dev (used for tox)
examples: removed requirement version of case_f/pymock
dep: added new developer dependencies or linting/testing

@pabloitu pabloitu linked an issue Jul 28, 2024 that may be closed by this pull request
…endent, with corresponding methods related to their execution nature.

tests: adapted test to new Model subclasses
tests: added test for TimeDependentModel with flat files, and expanded coverage to existing methods
sty: formatted code to black -l 96, flake8 and pydocstring
ft: created a ModelFactory class, which should handle the type of model instantiation.
refac: changed TimeIndependentModel arg use_db to store_db
rep: removed obsolete files
build: homogenized dev requirements in setup.cfg and requirements_dev (used for tox)
examples: removed requirement version of case_f/pymock
dep: added new developer dependencies or linting/testing
@pabloitu pabloitu force-pushed the 11-subclass-model branch from 2ad424f to a7e7ba1 Compare July 28, 2024 12:50
@pabloitu pabloitu merged commit 167ca2c into main Jul 28, 2024
14 checks passed
@pabloitu pabloitu deleted the 11-subclass-model branch July 28, 2024 20:11
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.

Subclass Model to time-independent and dependent
1 participant