-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
In 4.2 hollow_cylinder fails if have both an S(Q) and polydispersity.
''File "sas\sascalc\data_util\calcthread.pyc", line 274, in _run
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()''
This is one of the two special models, along with vesicle - see also #1280 - where shell not total volume provides the scaling.
In 5.0 there is NOT an extra volume parameter, so this fail does not occur, but we still need to look at the scaling of the model.
Migrated from http://trac.sasview.org/ticket/1258
{
"status": "new",
"changetime": "2019-03-27T08:50:43",
"_ts": "2019-03-27 08:50:43.207193+00:00",
"description": "\nIn 4.2 hollow_cylinder fails if have both an S(Q) and polydispersity.\n\n''File \"sas\\sascalc\\data_util\\calcthread.pyc\", line 274, in _run\nValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()''\n\nThis is one of the two special models, along with vesicle - see also #1257 - where shell not total volume provides the scaling.\n\n\n\nIn 5.0 there is NOT an extra volume parameter, so this fail does not occur, but we still need to look at the scaling of the model.",
"reporter": "richardh",
"cc": "richardh",
"resolution": "",
"workpackage": "SasModels Model Issues",
"time": "2019-03-26T10:01:47",
"component": "SasView",
"summary": "In 4.2 polydisperse hollow_cylinder @S(Q) fails",
"priority": "minor",
"keywords": "",
"milestone": "SasView 4.3.0",
"owner": "pkienzle",
"type": "defect"
}