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

toolkit pollutant setter and getter fixes #364

Merged
merged 1 commit into from
Feb 7, 2022
Merged

toolkit pollutant setter and getter fixes #364

merged 1 commit into from
Feb 7, 2022

Conversation

karosc
Copy link
Member

@karosc karosc commented Jan 17, 2022

This PR address issues noted in discussion of pyswmm/swmm-python#94

  • swmm_getNodeResult should return HRT from Storage[] instead of Node[] (which appears to not be used by the model)
  • change swmm_setLinkPollut type argument to SM_LinkPollut instead of int (addresses Link and Node Pollutant Function Call  #363)
  • minor doc string fixes for swmm_setNodePollut and swmm_setLinkPollut

more info at pyswmm/swmm-python#94

- swmm_getNodeResult should return HRT from Storage[] instead of Node[]
- swmm_setLinkPollut `type` argument as SM_LinkPollut instead of int
- minor doc string fixes for swmm_setNodePollut and swmm_setLinkPollut
@abhiramm7
Copy link
Collaborator

@karosc i can look over this today

@abhiramm7
Copy link
Collaborator

@michaeltryby and @jennwuu these changes look great. Can we go ahead and merge them? These are some minor changes to pollutant mod PR.

@jennwuu
Copy link

jennwuu commented Feb 6, 2022

@abhiramm7 I'm good with these changes.

@abhiramm7 abhiramm7 merged commit 025337c into pyswmm:develop Feb 7, 2022
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