Changeset 4863


Ignore:
Timestamp:
Mar 24, 2021 10:06:07 AM (7 months ago)
Author:
vondreele
Message:

fix 2 bugs in macromolecular restraints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIrestrGUI.py

    r4759 r4863  
    276276                for Tid,Ttype,Tcoord in targAtoms:
    277277                    if 'macro' in General['Type']:
    278                         result = [[Tcoord,1,[0,0,0]],]
     278                        result = [[Tcoord,1,[0,0,0]],[]]
    279279                    else:
    280280                        result = G2spc.GenAtom(Tcoord,SGData,False,Move=False)
     
    21082108        Coords = []
    21092109        Types = []
     2110        iBeg = 0
    21102111    else:   
    21112112        Names = ['all '+ name for name in General['AtomTypes']]
Note: See TracChangeset for help on using the changeset viewer.