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

breaking: Remove UserSettableParameter #1693

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

rht
Copy link
Contributor

@rht rht commented May 12, 2023

No description provided.

@rht rht force-pushed the rm_usersettableparam branch 3 times, most recently from f29c2c2 to 3cca12d Compare May 12, 2023 07:05
@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.33 ⚠️

Comparison is base (2a50370) 80.52% compared to head (d680c3b) 80.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1693      +/-   ##
==========================================
- Coverage   80.52%   80.20%   -0.33%     
==========================================
  Files          18       18              
  Lines        1248     1192      -56     
  Branches      240      225      -15     
==========================================
- Hits         1005      956      -49     
+ Misses        205      201       -4     
+ Partials       38       35       -3     
Impacted Files Coverage Δ
mesa/visualization/UserParam.py 100.00% <ø> (+5.03%) ⬆️
mesa/visualization/ModularVisualization.py 67.07% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rht rht force-pushed the rm_usersettableparam branch from 3cca12d to 20f7d0f Compare June 17, 2023 03:13
@rht rht requested review from jackiekazil and tpike3 June 17, 2023 03:14
from mesa.visualization.UserParam import (
NumberInput,
Slider,
)
from tests.test_batchrunner import MockAgent
Copy link
Member

@tpike3 tpike3 Jun 17, 2023

Choose a reason for hiding this comment

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

I think I am missing some here on the conflict. If we are importing MockAgent shouldn't it be tests.test_batch_run import MockAgent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was the code from before BatchRunner was removed.

@rht rht force-pushed the rm_usersettableparam branch from 20f7d0f to d680c3b Compare June 17, 2023 23:45
@rht
Copy link
Contributor Author

rht commented Jun 17, 2023

Merge conflict resolved.

Copy link
Member

@tpike3 tpike3 left a comment

Choose a reason for hiding this comment

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

LGTM

@tpike3 tpike3 merged commit 92c7b14 into projectmesa:main Jun 18, 2023
@rht rht deleted the rm_usersettableparam branch June 18, 2023 13:05
@tpike3 tpike3 added this to the Mesa 2.0 (Wellton) milestone Jul 1, 2023
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