Changeset 2977 for branch


Ignore:
Timestamp:
Aug 9, 2017 11:19:34 AM (6 years ago)
Author:
odonnell
Message:

fixed "Simulate a dataset" bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branch/2frame/GSASIIdataGUI.py

    r2975 r2977  
    18121812        self.zipfile = None
    18131813        # get instrument parameters for it
    1814         Iparm1,Iparm2 = self.GetPowderIparm(rd, Iparm, '', lastdatafile)
     1814        Iparm = self.GetPowderIparm(rd, Iparm, '', lastdatafile)
     1815        if Iparm is None:
     1816            return
     1817        Iparm1, Iparm2 = Iparm
    18151818        if 'T' in Iparm1['Type'][0]:
    18161819            print('TOF simulation not supported yet')
Note: See TracChangeset for help on using the changeset viewer.