Changeset 3685
- Timestamp:
- Oct 19, 2018 10:30:06 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r3659 r3685 521 521 522 522 def noDuplicate(xyzA,XYZ): 523 if True in [np.allclose(xyzA ,xyzB,atol=0.0002) for xyzB in XYZ]:523 if True in [np.allclose(xyzA%1.,xyzB%1.,atol=0.0002) for xyzB in XYZ]: 524 524 return False 525 525 return True -
trunk/GSASIIpwdGUI.py
r3684 r3685 3744 3744 return 3745 3745 controls[14] = kvec[:9] 3746 for result in MAXMAGN: 3746 dlg = wx.ProgressDialog('k-SUBGROUPSMAG results','Processing '+MAXMAGN[0][0],len(MAXMAGN), 3747 style = wx.PD_ELAPSED_TIME|wx.PD_AUTO_HIDE|wx.PD_REMAINING_TIME) 3748 3749 for ir,result in enumerate(MAXMAGN): 3750 dlg.Update(ir,newmsg='Processing '+result[0]) 3747 3751 if result[0].strip().endswith("1'"): #skip gray groups 3748 3752 continue … … 3765 3769 phase['nAtoms'] = len(TestMagAtoms(phase,magAtms,SGData,Uvec,Trans,allmom,maxequiv)) 3766 3770 magcells.append(phase) 3771 dlg.Destroy() 3767 3772 magcells[0]['Use'] = True 3768 3773 SGData = magcells[0]['SGData']
Note: See TracChangeset
for help on using the changeset viewer.