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

Update run-emodel example #155

Merged
merged 8 commits into from
Jul 12, 2024
Merged

Update run-emodel example #155

merged 8 commits into from
Jul 12, 2024

Conversation

ilkilic
Copy link
Collaborator

@ilkilic ilkilic commented Jul 9, 2024

No description provided.

@ilkilic ilkilic self-assigned this Jul 9, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.45%. Comparing base (8d5b0ab) to head (d239b31).
Report is 47 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   60.07%   53.45%   -6.63%     
==========================================
  Files         109      122      +13     
  Lines        7838     9668    +1830     
==========================================
+ Hits         4709     5168     +459     
- Misses       3129     4500    +1371     

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

@ilkilic ilkilic requested a review from AurelienJaquier July 11, 2024 08:44
threshold_current = feature['value']
print(feature)
def getHoldingThreshCurrent(forge, res_em):
from kgforge.specializations.resources import Dataset
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can move that to the top

elif 'soma.v.bpo_threshold_current' in feature['name']:
threshold_current = feature['value']
print(feature)
def getHoldingThreshCurrent(forge, res_em):
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe set somewhere default values (None) for holding_current and threshold_current in case we can't find the EModelScript, or if we find it but holding and threshold are not set there

@ilkilic
Copy link
Collaborator Author

ilkilic commented Jul 12, 2024

I have made the requested changes in the last commit

Copy link
Collaborator

@AurelienJaquier AurelienJaquier left a comment

Choose a reason for hiding this comment

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

thanks!

@ilkilic ilkilic merged commit 462aec3 into main Jul 12, 2024
6 checks passed
@ilkilic ilkilic deleted the update-run-emodel branch July 12, 2024 15:26
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.

3 participants