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

scenarios are not persisted correctly to/read from XLS template #104

Open
okworx opened this issue Oct 14, 2024 · 0 comments
Open

scenarios are not persisted correctly to/read from XLS template #104

okworx opened this issue Oct 14, 2024 · 0 comments
Labels
Milestone

Comments

@okworx
Copy link
Collaborator

okworx commented Oct 14, 2024

Test case:

  • create new EPD dataset

  • choose EF3.1 profile

  • create scenarios "100% incineration" and "100% recycling", leaving group empty, selecting the former as default
    CleanShot 2024-10-14 at 17 52 23@2x

  • add modules for both scenarios
    CleanShot 2024-10-14 at 17 53 19@2x

  • synchronize results table

  • export results table to XLS template

  • add some test numbers to XLS template:
    results_EF3.1_dual_scenario.xlsx

  • create new EPD dataset

  • import XLS template

Observed behavior:

  • there are duplicate entries in the scenarios list
  • the default status is not restored
    CleanShot 2024-10-14 at 17 57 23@2x

Expected behavior:

  • only two scenarios are in the scenarios list
  • the default status is restored ("100% incineration" marked as default)
  • bonus: the correct profile is being picked up and reflected in the profile drop-down

The same behavior can be observed when explicitly assigning a group ID. When adding another scenario group and using explicit group IDs, the group IDs and default status is lost as well (example XLS template: results_EF3.1_quad_scenario.xlsx)

In general, all declared scenarios without a group ID should be treated as belonging to the same group.

@okworx okworx added the bug label Oct 14, 2024
@okworx okworx added this to the 6.0.3 milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant