Changeset 5dc6d84 in sasview for invariantview/perspectives/invariant
- Timestamp:
- Jan 23, 2011 2:46:28 PM (14 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 5385a9e
- Parents:
- 88989768
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_state.py
r890a909b r5dc6d84 2 2 """ 3 3 4 import time4 #import time 5 5 import os 6 6 import sys … … 252 252 """ 253 253 from xml.dom.minidom import getDOMImplementation 254 #import time254 import time 255 255 timestamp = time.time() 256 256 # Check whether we have to write a standalone XML file … … 480 480 bool_0 = extra[0].split("=") 481 481 bool_1 = extra[1].split("=") 482 s_ 7= " " + bool_0[0] + "Q region = " + bool_0[1]483 s_ 8= " " + bool_1[0] + "Q region = " + bool_1[1]482 s_8 = " " + bool_0[0] + "Q region = " + bool_0[1] 483 s_7 = " " + bool_1[0] + "Q region = " + bool_1[1] 484 484 elif item[0] == "npts low": 485 485 s_9 = item[1] 486 elif item[0] == " 486 elif item[0] == "npts high": 487 487 s_10 = item[1] 488 488 elif item[0] == "volume fraction": … … 494 494 error = item[1].split("+-")[1].strip() 495 495 s_18 = val + " ± " + error 496 elif item[0].split("(")[0].strip() == "power low": 497 s_11 = item[0]+" ="+item[1] 496 498 elif item[0].split("(")[0].strip() == "power high": 497 s_11 = item[0]+" ="+item[1]498 elif item[0].split("(")[0].strip() == "power low":499 499 s_12 = item[0]+" ="+item[1] 500 500 elif item[0].split("[")[0].strip() == "Q* from low Q extrapolation":
Note: See TracChangeset
for help on using the changeset viewer.