Skip to content

Leftover crumbs from renaming of the truncated octahedron model #3993

@butlerpd

Description

@butlerpd

Describe the bug
I think this goes in the sasview repo but it might be a sasmodel issue. In testing the alpha3's new polyhedron models I noticed that the polyhedron category contains TWO versions of the truncated octahedron model: octahedron_truncated and truncated_octathedron. Only the second one works. The firsrt looks like a relic of a first version before it was renamed to meet sasview naming convention? It seems somehow still in the list somewhere but the code no longer is. It returns a Key Error:

17:10:25 - ERROR: Traceback (most recent call last): File "sas\qtgui\Perspectives\Fitting\FittingWidget.py", line 1195, in onSelectModel File "sas\qtgui\Perspectives\Fitting\FittingWidget.py", line 1368, in respondToModelStructure File "sas\qtgui\Perspectives\Fitting\FittingWidget.py", line 1985, in SASModelToQModel File "sas\qtgui\Perspectives\Fitting\FittingWidget.py", line 2032, in fromModelToQModel KeyError: 'octahedron_truncated'

SasView version (please complete the following information):

  • Version: 6.2.0a3

Operating system (please complete the following information):

  • OS: Windows 11

Installation method (please complete the following information):

  • Installed: from github release page artifact. Ran that installer locally to install on my machine

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions