Skip to content

Refactor amici::Model - extract ModelDimensions#1395

Merged
dweindl merged 14 commits intodevelopfrom
refactor_model_dims
Feb 1, 2021
Merged

Refactor amici::Model - extract ModelDimensions#1395
dweindl merged 14 commits intodevelopfrom
refactor_model_dims

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Feb 1, 2021

Refactor amici::Model and amici::ReturnData, extract ModelDimensions to reduce redundancy.

@codecov
Copy link

codecov bot commented Feb 1, 2021

Codecov Report

Merging #1395 (64c5e02) into develop (b94525e) will increase coverage by 0.09%.
The diff coverage is 91.30%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1395      +/-   ##
===========================================
+ Coverage    78.67%   78.76%   +0.09%     
===========================================
  Files           63       63              
  Lines         9925     9937      +12     
===========================================
+ Hits          7808     7827      +19     
+ Misses        2117     2110       -7     
Flag Coverage Δ
cpp 75.29% <91.30%> (+0.14%) ⬆️
petab 69.55% <ø> (ø)
python 67.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
include/amici/model.h 66.66% <ø> (ø)
include/amici/model_dae.h 0.00% <ø> (ø)
include/amici/rdata.h 94.44% <ø> (ø)
src/rdata.cpp 94.72% <75.00%> (-0.21%) ⬇️
src/model.cpp 83.70% <94.73%> (+0.10%) ⬆️
ThirdParty/gsl/gsl/gsl-lite.hpp 91.89% <0.00%> (-5.41%) ⬇️
src/solver_cvodes.cpp 70.41% <0.00%> (+0.20%) ⬆️
src/sundials_matrix_wrapper.cpp 83.82% <0.00%> (+0.42%) ⬆️
src/spline.cpp 71.57% <0.00%> (+6.31%) ⬆️
... and 1 more

@dweindl dweindl marked this pull request as ready for review February 1, 2021 12:01
@dweindl dweindl requested a review from FFroehlich February 1, 2021 12:01
Copy link
Member

@FFroehlich FFroehlich left a comment

Choose a reason for hiding this comment

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

👍

@FFroehlich
Copy link
Member

sphinx failing? also not sure about the sonarcloud bugs.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 1, 2021

@dweindl
Copy link
Member Author

dweindl commented Feb 1, 2021

sphinx failing?

Timeout. Previously working.

also not sure about the sonarcloud bugs.

Old code smells in amici::Model. Too many members/arguments, mix of private/public data members

@dweindl dweindl merged commit 3a05767 into develop Feb 1, 2021
@dweindl dweindl deleted the refactor_model_dims branch February 1, 2021 20:10
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