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

Improve logging & loading of STS elements introduced in v9.2.0 [ANT-2730] #2648

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

flomnes
Copy link
Member

@flomnes flomnes commented Feb 19, 2025

  • Add logging to allow for easier debugging, especially for optional files
  • Only try to load new STS stuff if the study version indicates that we should

One test fails (ST-storage-cost) because the study is in version 8.6.0. But it contains new costs introduced in v9.2.0, that are not loaded. This failure is therefore expected and perfectly normal. Reference results need to be (once again) regenerated.

@flomnes flomnes requested a review from a-zakir February 19, 2025 16:20
@flomnes flomnes changed the title Improve logging & loading of STS elements introduced in v9.2.0 Improve logging & loading of STS elements introduced in v9.2.0 [ANT-2730] Feb 19, 2025
@flomnes flomnes requested a review from a team February 24, 2025 13:34
@flomnes flomnes added the 9.2 label Feb 24, 2025
Copy link
Contributor

@JasonMarechal25 JasonMarechal25 left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -270,37 +270,37 @@ BOOST_FIXTURE_TEST_CASE(check_series_folder_loading_different_values, Fixture)
{
createFileSeries(8760);

BOOST_CHECK(series.loadFromFolder(folder));
BOOST_CHECK(series.loadFromFolder(folder, StudyVersion::latest()));
Copy link
Contributor

Choose a reason for hiding this comment

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

add test with old versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants