Skip to content

convert non builtin models in the marketplace to new API (Trac #1046) #14

@butlerpd

Description

@butlerpd

!SasView 4.2 changes completely how orientation is done and the API to the sasmodels interface thus changes so that all old models will fail. This is a problem for plugins, including anything downloaded from the marketplace. The solution is twofold:

  • First, in ticket problem compiling marketplace models (Trac #1043) #11, sasmodels needs to recognize old models and ignore the 2D (maintaining backward compatibility is way too hard and has a number of other issues that make it not worth doing). This should allow all old plugins that were used for 1D to continue to work.

  • The second part is this ticket and is to convert the few custom models currently uploaded to the marketplace that have real 2D code to use the new API. Also, as per ticket Add SasView version flag to model marketplace (Trac #1045) #13, we should change the name slightly so as to keep both versions on the marketplace with a note in the documentation for now indicating the version difference.

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

{
    "status": "closed",
    "changetime": "2018-10-29T13:33:09",
    "_ts": "2018-10-29 13:33:09.301321+00:00",
    "description": "!SasView 4.2 changes completely how orientation is done and the API to the sasmodels interface thus changes so that all old models will fail.  This is a problem for plugins, including anything downloaded from the marketplace.  The solution is twofold: \n\n* First, in ticket #1043, sasmodels needs to recognize old models and ignore the 2D (maintaining backward compatibility is way too hard and has a number of other issues that make it not worth doing).  This should allow all old plugins that were used for 1D to continue to work.\n\n* The second part is this ticket and is to convert the few custom models currently uploaded to the marketplace that have real 2D code to use the new API.  Also, as per ticket #1045, we should change the name slightly so as to keep both versions on the marketplace with a note in the documentation for now indicating the version difference.",
    "reporter": "butler",
    "cc": "",
    "resolution": "wontfix",
    "workpackage": "SasModels Redesign",
    "time": "2017-12-12T18:58:48",
    "component": "sasmodels Markeplace",
    "summary": "convert non builtin models in the marketplace to new API",
    "priority": "critical",
    "keywords": "",
    "milestone": "SasView 4.2.0",
    "owner": "butler",
    "type": "task"
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions