Changeset 863ac2c in sasview


Ignore:
Timestamp:
Sep 28, 2018 8:33:22 PM (3 months ago)
Author:
butler
Branches:
master, config-error, py37-all, py37-sascalc, py37-sasgui, pytest, setup_clean_up, simplify-c-build, ticket-1094-headless, ticket-1111, ticket-1205-fit-weights, ticket-1218, ticket-1220, unittest-saveload
Children:
e4e9162
Parents:
e9920cd
Message:

Update fix to pagestate.py for ticket-1179 branch as per P. Kienzle

Use global already defined in pagestate.py instead of recreating it as
suggested by Paul Kienzle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/pagestate.py

    re9920cd r863ac2c  
    638638                chi2_string = CENTRE % chi2 
    639639            elif name == "Title": 
    640                 from sas.sasview.__init__ import __version__ as sasview_version 
    641640                if len(value.strip()) == 0: 
    642641                    continue 
    643642                title = (value + " [" + repo_time + "] [SasView v" + 
    644                          sasview_version + "]") 
     643                         SASVIEW_VERSION + "]") 
    645644                title_name = HEADER % title 
    646645            elif name == "data": 
Note: See TracChangeset for help on using the changeset viewer.