Ignore:
Timestamp:
Mar 22, 2020 8:53:24 PM (3 years ago)
Author:
toby
Message:

fix isodistort constraint processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4377 r4379  
    960960            self.GPXtree.Expand(psub)
    961961            self.PickIdText = None
    962 
     962           
     963            # add constraints imported with phase to tree
     964            #    at present, constraints are generated only in ISODISTORT_proc in the
     965            #    CIF import
    963966            if rd.Constraints:
    964967                sub = GetGPXtreeItemId(self,self.root,'Constraints') # was created in CheckNotebook if needed
     
    970973                        if '_Explain' not in Constraints: Constraints['_Explain'] = {}
    971974                        Constraints['_Explain'].update(i)
    972                         continue
    973                     Constraints['Phase'].append(i)
     975                    else:
     976                        Constraints['Phase'].append(i)
    974977        if not newPhaseList: return # somehow, no new phases
    975978        # get a list of existing histograms
Note: See TracChangeset for help on using the changeset viewer.