Changeset 4591


Ignore:
Timestamp:
Oct 12, 2020 2:12:51 PM (13 months ago)
Author:
toby
Message:

fix limit bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r4588 r4591  
    690690            if 'parmFrozen' not in Controls:
    691691                Controls['parmFrozen'] = {}
    692             Controls['parmFrozen']['FrozenList'] = [G2obj.G2VarObj(i) for i in parmFrozenList]
     692            Controls['parmFrozen']['FrozenList'] = [
     693                    i if type(i) is G2obj.G2VarObj
     694                    else G2obj.G2VarObj(i)
     695                    for i in parmFrozenList]
    693696        try:
    694697            histogram = Histograms[datum[0]]
Note: See TracChangeset for help on using the changeset viewer.