Changeset 4889 for trunk/GSASIIdataGUI.py
- Timestamp:
- Apr 22, 2021 7:11:38 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r4888 r4889 1139 1139 rd.Phase['General']['Name'] = G2obj.MakeUniqueLabel(PhaseName,phaseNameList) 1140 1140 if rd.Phase['General']['SGData']['SpGrp'] in G2spc.spg2origins: 1141 choice = G2G.ChooseOrigin(self,rd) 1142 if choice is None: return # dialog cancelled 1143 rd.Phase = choice 1141 try: 1142 choice = G2G.ChooseOrigin(self,rd) 1143 if choice is None: return # dialog cancelled 1144 rd.Phase = choice 1145 except: 1146 print('ChooseOrigin failed. Check your atom types') 1144 1147 PhaseName = rd.Phase['General']['Name'][:] 1145 1148 newPhaseList.append(PhaseName) … … 3906 3909 del(newImage) 3907 3910 if self.imageDefault: 3908 Data = copy.copy(self.imageDefault)3911 Data.update(copy.deepcopy(self.imageDefault)) 3909 3912 Data['formatName'] = 'GSAS-II image' 3910 3913 Data['showLines'] = True
Note: See TracChangeset
for help on using the changeset viewer.