Skip to content

Conversation

@trbar
Copy link

@trbar trbar commented Jan 16, 2026

Ensures the DQS lines up in excel export if there is no Nsw (normalised, single score or weighed) values for a characterisation factor in the impact results (EF 3.1 for breakdowns in climate change, ecotoxicity, etc)

Before:
Screenshot 2026-01-16 at 07 50 32

Now:
Screenshot 2026-01-16 at 07 50 43

NwFactor nwFactor = nwSet.getFactor(impact);
if (nwFactor == null)
if (nwFactor == null) {
// Write empty cells to maintain alignment if there is no normalization/single score/weighting factor
Copy link
Member

Choose a reason for hiding this comment

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

Is this really true or is it just the AI thinkig so? If I am correct, it is not required to create empty cells for whatever alignment. So a simple return col + 3 would be enough. If the comment was written by a human, I would trust that they really run into an issue and had to add this as a fix.

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