コード例 #1
0
ファイル: CU_spatial_13.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((-0.154263, 0.13053, 0.97937), 91.756), (29.5206, -43.0239, 10.5173), True), 1: (((0.406034, 0.65291, 0.639409), 174.415), (48.5349, -52.7312, -7.54086), True), 2: (((0.928636, -0.0151888, -0.37068), 110.344), (16.9871, 31.3599, 8.75432), True), 3: (((0.951197, 0.304364, 0.0508613), 111.477), (30.4377, 25.3191, 22.4655), True), 4: (((0.964803, 0.214029, 0.152797), 101.464), (-8.97587, 54.595, -2.58613), True), 5: (((-0.780131, 0.620636, 0.0787837), 132.815), (16.8131, 16.5468, 33.5245), True), 6: (((0.761853, 0.632615, -0.139203), 99.8029), (-11.7371, 4.41412, 31.6873), True), 7: (((0.0405721, -0.519144, 0.853724), 148.46), (31.3551, 19.2596, 8.07347), True), 8: (((-0.408474, 0.81776, 0.405485), 141.273), (27.5526, -45.7194, 10.1068), True), 9: (((-0.569827, 0.507609, 0.646243), 145.241), (48.4351, 0.189513, 34.2531), True), 10: (((0.86766, 0.293766, 0.401083), 129.878), (1.80988, -2.34317, 17.6435), True), 11: (((0.23451, -0.676435, 0.698169), 157.601), (52.3269, 13.2883, 9.93458), True), 12: (((0.221561, 0.779229, -0.586271), 162.322), (46.1906, 0.253352, 35.1163), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #2
0
ファイル: AG_hbonded_6.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((-0.768847, -0.492936, -0.407295), 87.5059), (-2.97384, -23.7794, 30.7727), True), 1: (((-0.654695, 0.478405, 0.585238), 150.274), (9.40302, 15.3062, 40.5292), True), 2: (((-0.45518, -0.824351, -0.336537), 121.039), (24.0293, 6.53266, 14.8503), True), 3: (((0.0883338, -0.723864, 0.684265), 127.882), (23.9052, 14.6091, 14.1209), True), 4: (((0.64599, -0.761267, -0.0563033), 178.339), (21.391, 9.56821, 48.0205), True), 5: (((0.71734, -0.18356, 0.672108), 129.314), (4.97848, 9.9116, 19.9827), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #3
0
ファイル: GG_hbonded_4.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((-0.0546528, 0.86494, -0.49889), 61.9062), (5.47514, 12.464, 20.127), True), 1: (((0.496178, -0.122838, -0.859487), 87.4937), (23.9241, 24.8881, 9.18068), True), 2: (((0.92719, -0.256877, -0.272642), 146.463), (14.1536, 27.6156, -11.1767), True), 3: (((-0.562007, -0.653896, -0.506525), 78.5735), (-10.7921, -12.0512, 7.65303), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #4
0
ファイル: AU_spatial_7.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((-0.565187, -0.824945, 0.00546407), 105.832), (55.5454, -35.8788, -10.2962), True), 1: (((0.439269, 0.779737, -0.446154), 139.781), (19.3101, 31.4256, 52.7816), True), 2: (((-0.715632, 0.685264, 0.135218), 155.761), (49.655, 1.75006, 30.5115), True), 3: (((0.664454, 0.742792, 0.0822245), 157.548), (43.9273, -3.74304, 19.397), True), 4: (((0.0847182, -0.289163, -0.953524), 84.2003), (41.8812, 16.5441, 14.85), True), 5: (((-0.45982, -0.847181, -0.266174), 128.154), (65.6229, -9.8093, -1.00984), True), 6: (((0.656362, -0.75389, 0.0289744), 175.246), (60.523, -1.54767, 30.9618), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #5
0
ファイル: CC_spatial_10.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((-0.941273, 0.0511255, 0.333753), 92.332), (-8.21509, 24.2451, -26.7333), True), 1: (((-0.15768, 0.933006, -0.323476), 173.312), (14.6544, -14.6617, -53.1814), True), 2: (((0.579795, -0.234033, -0.780427), 70.7294), (-0.607633, 18.8882, -38.5086), True), 3: (((0.459039, 0.155502, 0.874701), 140.724), (2.49564, -12.026, -50.0605), True), 4: (((-0.0813315, 0.894846, -0.438902), 172.244), (27.1546, 28.5911, 6.15806), True), 5: (((-0.926115, -0.0201734, 0.376701), 85.711), (-3.45413, -51.56, -16.9189), True), 6: (((0.262745, 0.494648, 0.828425), 167.901), (-14.4071, 14.0985, -44.502), True), 7: (((0.912784, 0.0122669, -0.408258), 101.636), (11.1493, -0.0553089, -57.3391), True), 8: (((-0.344282, -0.871449, 0.349352), 167.008), (7.95052, 1.69094, -27.2338), True), 9: (((-0.861282, 0.397848, 0.316085), 119.187), (2.77158, -6.78046, -28.131), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #6
0
ファイル: CC_hbonded_5.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((0.739319, 0.345982, -0.577671), 131.663), (34.8007, 1.20655, 48.6882), True), 1: (((-0.272569, -0.724584, -0.632996), 143.982), (54.5727, -15.4013, -5.35467), True), 2: (((-0.467792, -0.72983, -0.498516), 94.6472), (33.8735, -45.8686, -8.66991), True), 3: (((0.891723, 0.301947, 0.337132), 159.36), (3.01243, -10.7975, 21.4627), True), 4: (((-0.175823, -0.512674, -0.840388), 61.5369), (23.2741, -5.79277, -16.5227), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #7
0
ファイル: GU_hbonded_9.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((-0.574979, 0.806108, -0.139963), 158.121), (43.5323, 29.8513, 12.4642), True), 1: (((0.503169, 0.82602, -0.253993), 142.469), (-16.6173, 31.7013, 47.4666), True), 2: (((-0.473733, 0.170016, 0.864102), 95.8004), (38.7117, -10.7731, -1.0397), True), 3: (((0.732379, 0.446219, -0.514304), 122.321), (-23.4184, 43.0152, 17.4626), True), 4: (((0.144801, 0.126939, 0.981284), 111.506), (38.6062, 20.5412, -15.0566), True), 5: (((-0.466583, -0.808915, -0.35771), 116.96), (22.532, 0.0159838, -33.5734), True), 6: (((-0.507146, -0.630897, -0.587173), 140.418), (16.2984, -1.34, -37.6463), True), 7: (((0.773813, 0.404622, -0.487334), 124.002), (-15.2912, 58.5297, 23.8408), True), 8: (((0.140274, 0.196012, 0.970517), 125.865), (30.7407, 17.4855, -30.5469), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #8
0
ファイル: UU_spatial_4.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
	from SimpleSession.versions.v45 import restoreWindowSize, \
	     restoreOpenStates, restoreSelections, restoreFontInfo, \
	     restoreOpenModelsAttrs, restoreModelClip

	curSelIds =  []
	savedSels = []
	openModelsAttrs = { 'cofrMethod': 4 }
	windowSize = (1270, 607)
	xformMap = {0: (((-0.75223, -0.635314, -0.17472), 102.033), (-5.19995, 0.912702, 13.3858), True), 1: (((0.44182, 0.503066, 0.742778), 164.14), (28.0685, 41.8142, -17.1341), True), 2: (((0.872789, -0.0817886, -0.481197), 120.939), (-1.5362, 38.2246, -5.90384), True), 3: (((0.804312, -0.504367, -0.31416), 142.58), (38.3804, 59.5414, -0.33396), True)}
	fontInfo = {'face': ('Sans Serif', 'Normal', 16)}
	clipPlaneInfo = {}

	replyobj.status("Restoring window...", blankAfter=0)
	restoreWindowSize(windowSize)
	replyobj.status("Restoring open states...", blankAfter=0)
	restoreOpenStates(xformMap)
	replyobj.status("Restoring font info...", blankAfter=0)
	restoreFontInfo(fontInfo)
	replyobj.status("Restoring selections...", blankAfter=0)
	restoreSelections(curSelIds, savedSels)
	replyobj.status("Restoring openModel attributes...", blankAfter=0)
	restoreOpenModelsAttrs(openModelsAttrs)
	replyobj.status("Restoring model clipping...", blankAfter=0)
	restoreModelClip(clipPlaneInfo)

	replyobj.status("Restoring remaining extension info...", blankAfter=0)
コード例 #9
0
ファイル: AC_hbonded_3.py プロジェクト: aleksahak/DiBaseRNA
def restoreRemainder():
    from SimpleSession.versions.v45 import (
        restoreWindowSize,
        restoreOpenStates,
        restoreSelections,
        restoreFontInfo,
        restoreOpenModelsAttrs,
        restoreModelClip,
    )

    curSelIds = []
    savedSels = []
    openModelsAttrs = {"cofrMethod": 4}
    windowSize = (1270, 607)
    xformMap = {
        0: (((-0.424802, -0.285379, -0.859129), 146.654), (-27.1941, 55.2722, -6.01249), True),
        1: (((0.713895, 0.0494788, -0.698503), 103.637), (13.8779, 45.3555, 10.0875), True),
        2: (((-0.191902, -0.0638644, 0.979334), 50.2643), (-7.89693, 19.4431, 17.5053), True),
    }
    fontInfo = {"face": ("Sans Serif", "Normal", 16)}
    clipPlaneInfo = {}

    replyobj.status("Restoring window...", blankAfter=0)
    restoreWindowSize(windowSize)
    replyobj.status("Restoring open states...", blankAfter=0)
    restoreOpenStates(xformMap)
    replyobj.status("Restoring font info...", blankAfter=0)
    restoreFontInfo(fontInfo)
    replyobj.status("Restoring selections...", blankAfter=0)
    restoreSelections(curSelIds, savedSels)
    replyobj.status("Restoring openModel attributes...", blankAfter=0)
    restoreOpenModelsAttrs(openModelsAttrs)
    replyobj.status("Restoring model clipping...", blankAfter=0)
    restoreModelClip(clipPlaneInfo)

    replyobj.status("Restoring remaining extension info...", blankAfter=0)