Skip to content

Data objects should be independent of gui (Trac #238) #386

@pkienzle

Description

@pkienzle

Data objects (Data1D and Data2D) currently have some parameters that are only set when the data is loaded via the gui.

This makes using the data loader from scripts (and anything that relies on those parameters) break in various ways.

Notably: park requires data.name to be set. This is only set when data is loaded in the gui and thus unit tests of park fail.

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

{
    "status": "new",
    "changetime": "2017-10-26T11:06:06",
    "_ts": "2017-10-26 11:06:06.038395+00:00",
    "description": "Data objects (Data1D and Data2D) currently have some parameters that are only set when the data is loaded via the gui.\n\nThis makes using the data loader from scripts (and anything that relies on those parameters) break in various ways.\n\nNotably: park requires data.name to be set. This is only set when data is loaded in the gui and thus unit tests of park fail.\n",
    "reporter": "pkienzle",
    "cc": "",
    "resolution": "",
    "workpackage": "SasView Framework Enhancements",
    "time": "2014-04-04T17:08:33",
    "component": "SasView",
    "summary": "Data objects should be independent of gui",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 5.0.0",
    "owner": "",
    "type": "defect"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Cross Package IssueThis issue involves a package other than SasView/sasviewDefectBug or undesirable behaviourEnhancementFeature 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