Changeset 4504
- Timestamp:
- Jun 20, 2020 8:47:15 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r4503 r4504 3575 3575 resRBData = data['RBModels'].get('Residue',[]) 3576 3576 vecRBData = data['RBModels'].get('Vector',[]) 3577 global rbAtmDict 3577 3578 rbAtmDict = {} 3578 3579 for rbObj in resRBData+vecRBData: … … 3954 3955 indx.sort() 3955 3956 indx.reverse() 3957 msg = '' 3956 3958 for ind in indx: 3957 3959 atom = atomData[ind] 3958 3960 if atom[ci+8] in rbAtmDict: 3959 G2frame.GetStatusBar().SetStatusText('**** ERROR - atom is in a rigid body and can not be deleted ****',1) 3961 if msg: msg += ', ' 3962 msg += atom[0] 3960 3963 else: 3961 3964 if atom[ci+8] in HydIds: #remove Hs from Hatom update dict … … 3963 3966 IDs.append(atom[ci+8]) 3964 3967 del atomData[ind] 3968 if msg: G2frame.ErrorDialog('Atom delete error', 3969 'ERROR - atom(s) in a rigid body were not deleted: '+msg) 3965 3970 if 'Atoms' in data['Drawing']: 3966 3971 Atoms.ClearSelection()
Note: See TracChangeset
for help on using the changeset viewer.