Skip to content

Analysis table: layer thickness/roughness of shared layers named "Film in … thickness", indistinguishable from each other #394

Open

Description

@rozyczko

Reported in user testing of v1.6.1 (multiple-contrasts session, 23/11/2026).

What happens
In Film in three water contrasts, the Analysis parameter table lists SiO2 sld and SiO2 isld, but no SiO2 thickness or SiO2 roughness. The rows that hold them read:

 7  ⇄ Film in … thickness
 8  ⇄ SiO2 isld
 9  ⇄ SiO2 sld
10  ⇄ Film in … roughness
11  ⇄ Film in … thickness

Rows 7 and 11 are indistinguishable, and nothing says which one is the oxide and which is the film. The testers concluded the parameters were mislabelled.

Cause
In Backends/Py/logic/parameters.py:

  • _parameter_display_data names layer parameters after the assembly (path[-4]), not the layer, so both layers of the Oxide and film multilayer get the same name.
  • _build_row prefixes a shared layer parameter with every owner model's name joined by + (Film in D2O+Film in H2O+Film in CMSi Oxide and film thickness). The column then elides that to Film in … thickness, which hides exactly the part that tells the rows apart.

Expected
Each layer parameter has a short, unique name that identifies the layer, e.g. SiO2 thickness / Film thickness (or Oxide and film / SiO2 thickness). The models sharing it are already shown by the ⇄ marker and its tooltip, so they don't need to be in the name.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [priority] high[scope] buguser-experience-enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions