Skip to content

Refactor SasView Category code (Trac #526) #659

@butlerpd

Description

@butlerpd

Once we move to adding default categories to the python model we will need to change the !SasView category code to take advantage of it. Mainly:

1 Remove default.json from the repo
2 Change the code to create a serialized.json from model information instead of looking for default.json
3 If model is not in serialized.json, first look in model information for default categories. If none then, and only then, add to uncategorized.

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

{
    "status": "new",
    "changetime": "2019-03-02T01:14:49",
    "_ts": "2019-03-02 01:14:49.765742+00:00",
    "description": "Once we move to adding default categories to the python model we will need to change the !SasView category code to take advantage of it.  Mainly:\n\n1 Remove default.json from the repo\n2 Change the code to create a serialized.json from model information instead of looking for default.json\n3 If model is not in serialized.json, first look in model information for default categories.  If none then, and only then, add to uncategorized.",
    "reporter": "butler",
    "cc": "",
    "resolution": "",
    "workpackage": "SasView Framework Enhancements",
    "time": "2016-03-16T22:53:35",
    "component": "SasView",
    "summary": "Refactor SasView Category code",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 5.0.0",
    "owner": "",
    "type": "enhancement"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFeature requests and/or general improvementsMajorBig change in the code or important change in behaviour

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions