Changeset 5029
- Timestamp:
- Sep 22, 2021 5:26:46 PM (18 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIddataGUI.py
r5025 r5029 957 957 isoSizer.Add(ResetSizer('isotropic',OnResetSize),0,WACV) 958 958 bottomSizer.Add(isoSizer) 959 bottomSizer.Add(IsoSizer(u'size(\xb5m): ','Size',(10,4),[0., 4.],OnSizeRef),0,wx.BOTTOM,5)959 bottomSizer.Add(IsoSizer(u'size(\xb5m): ','Size',(10,4),[0.,10.],OnSizeRef),0,wx.BOTTOM,5) 960 960 elif UseList[G2frame.hist]['Size'][0] == 'uniaxial': 961 961 uniSizer = wx.BoxSizer(wx.HORIZONTAL) … … 966 966 bottomSizer.Add(UniSizer('Size',OnSizeAxis),0) 967 967 bottomSizer.Add(uniSizer) 968 bottomSizer.Add(UniDataSizer(u'size(\xb5m): ','Size',(10,3),[0., 4.],OnSizeRef),0,wx.BOTTOM,5)968 bottomSizer.Add(UniDataSizer(u'size(\xb5m): ','Size',(10,3),[0.,10.],OnSizeRef),0,wx.BOTTOM,5) 969 969 elif UseList[G2frame.hist]['Size'][0] == 'ellipsoidal': 970 970 ellSizer = wx.BoxSizer(wx.HORIZONTAL) -
trunk/GSASIIphsGUI.py
r4998 r5029 5843 5843 break 5844 5844 ilog += 1 5845 import subprocess as sb5846 5845 if sys.platform.lower().startswith('win'): 5847 5846 batch = open('fullrmc.bat','w') … … 5850 5849 batch.write('pause') 5851 5850 batch.close() 5852 s b.Popen('fullrmc.bat',creationflags=sb.CREATE_NEW_CONSOLE)5851 subp.Popen('fullrmc.bat',creationflags=subp.CREATE_NEW_CONSOLE) 5853 5852 else: 5854 5853 batch = open('fullrmc.sh','w') … … 5868 5867 else: 5869 5868 # TODO: better to create this in a new terminal on Linux 5870 s b.Popen(['/bin/bash','fullrmc.sh'])5869 subp.Popen(['/bin/bash','fullrmc.sh']) 5871 5870 else: 5872 5871 pName = generalData['Name'].replace(' ','_') … … 5915 5914 G2frame.OnFileSave(event) 5916 5915 print (' GSAS-II project saved') 5917 import subprocess as sb5918 5916 generalData = data['General'] 5919 5917 pName = generalData['Name'].replace(' ','_') 5918 exstr = rmcexe+'\\rmcprofile.exe '+pName 5920 5919 batch = open('runrmc.bat','w') 5921 5920 batch.write('Title RMCProfile\n') 5922 batch.write( rmcexe+'\\rmcprofile.exe '+pName+'\n')5921 batch.write(exstr+'\n') 5923 5922 batch.write('pause\n') 5924 5923 batch.close() 5925 s b.Popen('runrmc.bat',creationflags=sb.CREATE_NEW_CONSOLE)5924 subp.Popen('runrmc.bat',creationflags=subp.CREATE_NEW_CONSOLE) 5926 5925 5927 5926 def OnStopRMC(event): -
trunk/GSASIIpwd.py
r5021 r5029 2430 2430 fl.write('%12.6e%14.6e%14.6e\n'%(inst[prms[8]][1],inst[prms[9]][1],inst[prms[10]][1])) 2431 2431 fl.write('%12.6e%14.6e%14.6e%14.6e%14.6e\n'%(inst[prms[11]][1],inst[prms[12]][1]+Ysb,inst[prms[13]][1]+Xsb,0.0,0.0)) 2432 fl.write('\n\n\n') 2432 2433 fl.close() 2433 2434 else:
Note: See TracChangeset
for help on using the changeset viewer.