Skip to content

custom_config.py and categories.json are overwriten when running from run.py (Trac #1219) #1248

@wpotrzebowski

Description

@wpotrzebowski

When running sasview from run.py categories.json and custom_config.py files in .sasview dierctory are removed and coppied from sasview src.

This happens because setup,py (lines: 59-69) removes these files.
It is only the problem when you run sasview locally. It is not the problem from builder.

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

{
    "status": "new",
    "changetime": "2018-11-29T15:31:39",
    "_ts": "2018-11-29 15:31:39.898526+00:00",
    "description": "When running sasview from run.py categories.json and custom_config.py files in .sasview dierctory are removed and coppied from sasview src. \n\nThis happens because setup,py (lines: 59-69) removes these files.\nIt is only the problem when you run sasview locally. It is not the problem from builder. \n\n ",
    "reporter": "wojciech",
    "cc": "",
    "resolution": "",
    "workpackage": "McSAS Integration Project",
    "time": "2018-11-29T15:31:39",
    "component": "SasView",
    "summary": "custom_config.py and categories.json are overwriten when running from run.py",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 4.3.0",
    "owner": "",
    "type": "defect"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    DefectBug or undesirable behaviourMajorBig change in the code or important change in behaviourMcSASMcSAS Integration Project

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions