Changeset 1674
- Timestamp:
- Feb 27, 2015 11:28:13 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r1673 r1674 289 289 IndB = set(list(IndB)+list(getNeighbors(newAtoms[-1],radius))) 290 290 if len(IndB) > nAtom: 291 print 'Assemble molecule cannot be used on extended structures' 292 return atomData 291 return 'Assemble molecule cannot be used on extended structures' 293 292 for atom in atomData: 294 293 if atom != None: -
trunk/GSASIIphsGUI.py
r1669 r1674 1816 1816 generalData['DisAglCtls'] = DisAglCtls 1817 1817 atomData = copy.deepcopy(data['Atoms']) 1818 data['Atoms'] = G2mth.FindMolecule(indx[0],generalData,atomData) 1818 result = G2mth.FindMolecule(indx[0],generalData,atomData) 1819 if 'str' in str(type(result)): 1820 G2frame.ErrorDialog('Assemble molecule',result) 1821 else: 1822 data['Atoms'] = result 1819 1823 OnReloadDrawAtoms(event) 1820 1824 FillAtomsGrid(Atoms)
Note: See TracChangeset
for help on using the changeset viewer.