Skip to content

Multiplicity models do not appear in drop-down in Custom Model > Sum|Multi (Trac #473) #607

@smk78

Description

@smk78

Reported by Saeed Mohan (saeed.mohan@ipleiria.pt):

I was attempting to add in my own custom model to Sasview, which is based on the !UnifiedPowerRg model. I thought the easiest thing to do would be to use the Sum Multi|(p1, p2) function under Fitting > Edit Custom Model, however I am not able to find this model in the options list.

Checked by SMK. He is correct.

What is more, the same bug exists in v3.0.0 and v2.2.1!!!

PDB checked and it appears that no multiplicity models appear in the dropdown (eg. RPA10, onion, etc). This is probably working as designed since I suspect the interface was not obvious for a multiplicity model? Interestingly there is also a very strange behavior that the shape independent -> Absolute_Power_Law seems to have been renamed in this dropdown to !PowerLawAbsModel ... perhaps due to the space in the name?

Migrated from http://trac.sasview.org/ticket/473

{
    "status": "new",
    "changetime": "2019-03-02T00:16:28",
    "_ts": "2019-03-02 00:16:28.434007+00:00",
    "description": "Reported by Saeed Mohan (saeed.mohan@ipleiria.pt):\n\nI was attempting to add in my own custom model to Sasview, which is based on the !UnifiedPowerRg model. I thought the easiest thing to do would be to use the Sum Multi|(p1, p2) function under Fitting > Edit Custom Model, however I am not able to find this model in the options list.\n\nChecked by SMK. He is correct.\n\nWhat is more, the same bug exists in v3.0.0 and v2.2.1!!!\n\nPDB checked and it appears that no multiplicity models appear in the dropdown (eg. RPA10, onion, etc).  This is probably working as designed since I suspect the interface was not obvious for a multiplicity model?  Interestingly there is also a very strange behavior that the shape independent -> Absolute_Power_Law seems to have been renamed in this dropdown to !PowerLawAbsModel ... perhaps due to the space in the name? ",
    "reporter": "smk78",
    "cc": "",
    "resolution": "",
    "workpackage": "SasModels Infrastructure",
    "time": "2015-11-10T12:00:02",
    "component": "SasView",
    "summary": "Multiplicity models do not appear in drop-down in Custom Model > Sum|Multi",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 5.1.0",
    "owner": "",
    "type": "defect"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    DefectBug or undesirable behaviourMajorBig change in the code or important change in behaviourMultiplicityIssue related to handling of multiplicity

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions