Changeset e9920cd in sasview for src/sas/sascalc


Ignore:
Timestamp:
Sep 28, 2018 3:39:06 PM (6 years ago)
Author:
krzywon
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
863ac2c
Parents:
1b4cb41
Message:

Add SasView? version to report files. refs #1179

File:
1 edited

Legend:

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

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