# -*- coding: utf-8 -*- def main(): startApplication("sasview") clickTab(waitForObject(":Data Explorer.DataLoadWidget_DataExplorerWindow"), "Theory") mouseClick(waitForObject(":groupBox_6.cbCategory_QComboBox"), 39, 4, 0, Qt.LeftButton) mouseClick(waitForObjectItem(":groupBox_6.cbCategory_QComboBox", "Cylinder"), 28, 3, 0, Qt.LeftButton) mouseClick(waitForObject(":groupBox_6.cbModel_QComboBox_2"), 43, 7, 0, Qt.LeftButton) mouseClick(waitForObjectItem(":groupBox_6.cbModel_QComboBox_2", "core\\_shell\\_bicelle\\_elliptical"), 49, 7, 0, Qt.LeftButton) clickButton(waitForObject(":FittingWidgetUI.cmdPlot_QPushButton_2")) snooze(2) waitForObjectItem(":groupBox_2.freezeView_QTreeView", "M1 [core\\_shell\\_bicelle\\_elliptical]") clickItem(":groupBox_2.freezeView_QTreeView", "M1 [core\\_shell\\_bicelle\\_elliptical]", 64, 7, 0, Qt.LeftButton) openItemContextMenu(waitForObject(":groupBox_2.freezeView_QTreeView"), "M1 [core\\_shell\\_bicelle\\_elliptical]", 64, 7, 0) activateItem(waitForObjectItem(":MainWindow_QMenu", "Data Info")) test.compare(waitForObjectExists(":Data Info: M1 [core_shell_bicelle_elliptical]_QTextEdit").visible, True) test.compare(str(waitForObjectExists(":Data Info: M1 [core_shell_bicelle_elliptical]_QTextEdit").html), "\n
\nFile: M1 [core_shell_bicelle_elliptical]
\nTitle: M1 [core_shell_bicelle_elliptical]
\nRun: []
\nSESANS: None
\nInstrument:
\nSample:
\nID:
\nTransmission: None
\nThickness: None [mm]
\nTemperature: None [None]
\nPosition: x = None y = None z = None [mm]
\nOrientation: x = None y = None z = None [degree]
\nDetails:
\nSource:
\nRadiation: None
\nShape: None
\nWavelength: None [A]
\nWaveln_min: None [nm]
\nWaveln_max: None [nm]
\nWaveln_spread:None [percent]
\nBeam_size: x = None y = None z = None [mm]
\nData:
\nType: Data1D
\nX-axis: \\rm{Q} [A^{-1}]
\nY-axis: \\rm{Intensity} [cm^{-1}]
\nLength: 25
\nData Min Max:
\nX_min = 0.005: X_max = 0.1
\nY_min = 4.61789496717: Y_max = 369.191266886
\ndY_min = 0.0: dY_max = 0.0
\nData Points:
\n<index> <X> <Y> <dY> <dX>
\n0 0.005 369.191266886 0.0 0.0
\n1 0.00895833333333 343.924827081 0.0 0.0
\n2 0.0129166666667 308.166416117 0.0 0.0
\n3 0.016875 266.135593911 0.0 0.0
\n4 0.0208333333333 222.25367246 0.0 0.0
\n5 0.0247916666667 180.3727708 0.0 0.0
\n6 0.02875 143.231604481 0.0 0.0
\n7 0.0327083333333 112.237202971 0.0 0.0
\n8 0.0366666666667 87.5714529475 0.0 0.0
\n9 0.040625 68.5337536767 0.0 0.0
\n10 0.0445833333333 53.9821956025 0.0 0.0
\n11 0.0485416666667 42.7358242671 0.0 0.0
\n12 0.0525 33.8423092996 0.0 0.0
\n13 0.0564583333333 26.6782576019 0.0 0.0
\n14 0.0604166666667 20.9089451174 0.0 0.0
\n15 0.064375 16.3710952381 0.0 0.0
\n16 0.0683333333333 12.9486265509 0.0 0.0
\n17 0.0722916666667 10.4915918121 0.0 0.0
\n18 0.07625 8.79599248628 0.0 0.0
\n19 0.0802083333333 7.63199964682 0.0 0.0
\n20 0.0841666666667 6.79137560771 0.0 0.0
\n21 0.088125 6.12490078577 0.0 0.0
\n22 0.0920833333333 5.55319597067 0.0 0.0
\n23 0.0960416666667 5.05104882551 0.0 0.0
\n24 0.1 4.61789496717 0.0 0.0
\n