Skip to content

Summary attributes a shared parameter to its first model only #435

Closed

Description

@rozyczko

Problem. In the summary's parameter table, each parameter is listed once, and its display name starts with the name of the first model that reaches it. A parameter shared by identity, for example the film thickness of an assembly shared by three contrasts, therefore appears as <model 0> <layer> thickness. That suggests it belongs to model 0 only, when it is the one value fitted for all three. Design §6 asks the UI to show every owner of a shared parameter, and the app's parameter table does that (the ⇄ badge with the owner list). The report does not.

Where: src/easyreflectometry/summary/summary.py, _named_parameters: the seen set and model_name from the first model in which the walk meets the object.

Proposed.

  • Name a shared parameter by all of its owners, e.g. D2O, H2O, CMSi: Film thickness.
  • Or add a column listing the models, using Project.parameter_models(parameter), which already returns the owner indices.
  • Either way, keep each parameter listed once.

Activity

  1. added
    [scope] bug
    bugfix
    [priority] high
    on Oct 10, 2026
  2. added a commit that references this issue on Oct 26, 2026
  3. added a commit that references this issue on Nov 13, 2026
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] bugbugfix

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions