Skip to content

Conversation

@tlelv
Copy link
Collaborator

@tlelv tlelv commented Sep 6, 2025

No description provided.

Copy link
Collaborator

@Enovotny Enovotny left a comment

Choose a reason for hiding this comment

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

looks good so far. have some comments

@tlelv tlelv requested a review from Enovotny October 15, 2025 19:43
Copy link
Collaborator

@Enovotny Enovotny left a comment

Choose a reason for hiding this comment

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

overall looks good. Nice work getting those tests to complete. Have added some of the following

  • formatting changes.
  • additional asserts to test the .df in addition to the .json
  • add tests for 2 other functions. get_rating_templates and get_rating_specs.

Copy link
Collaborator Author

@tlelv tlelv left a comment

Choose a reason for hiding this comment

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

Like you said on call, the next I'll work on is the tables, as well as adding asserts for both the json and df to all tests if that works!

@Enovotny
Copy link
Collaborator

lets get all of these changes in so we can commit this pull request and be done with the templates and specs. Then create a new pull request for adding the rating tables. and testing those.

@tlelv tlelv requested a review from Enovotny October 15, 2025 21:47
@tlelv
Copy link
Collaborator Author

tlelv commented Oct 15, 2025

lets get all of these changes in so we can commit this pull request and be done with the templates and specs. Then create a new pull request for adding the rating tables. and testing those.

let me get those changes in, I re-requested a bit early

@tlelv tlelv requested a review from Enovotny October 22, 2025 23:31
Copy link
Collaborator

@Enovotny Enovotny left a comment

Choose a reason for hiding this comment

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

we are really close. one thing to keep in mind anything that is created in the a test needs to be removed. so we need a mechanism to remove the 2nd template/specs that are created. I created a test file for levels. check out what is done there. check out test_get_specified_levels(): in

https://github.com/HydrologicEngineeringCenter/cwms-python/blob/main/tests/cda/levels/specified_levels_cda_test.py

@sonarqubecloud
Copy link

Copy link
Collaborator

@Enovotny Enovotny left a comment

Choose a reason for hiding this comment

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

nice work. Looks good. go ahead and merge.

@tlelv tlelv merged commit 0aece26 into main Nov 10, 2025
9 checks passed
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