File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1941,6 +1941,7 @@ def OnImportPowder(self,event):
19411941 finally :
19421942 del Iparm1 ['CorrectionCode' ]
19431943 rd .Sample ['ranId' ] = valuesdict ['ranId' ] # this should be removed someday
1944+ if GSASIIpath .GetConfigValue ('debug' ): print ('crash debug: read complete, adding to tree' )
19441945 self .GPXtree .SetItemPyData (Id ,[valuesdict ,rd .powderdata ])
19451946 self .GPXtree .SetItemPyData (self .GPXtree .AppendItem (Id ,text = 'Comments' ),rd .comments )
19461947 Tmin = min (rd .powderdata [0 ])
@@ -1986,9 +1987,11 @@ def OnImportPowder(self,event):
19861987 else :
19871988 # there are no break statements in this while loop so these are always run:
19881989 self .EnablePlot = True
1990+ if GSASIIpath .GetConfigValue ('debug' ): print ('crash debug: before Expand' )
19891991 if Id :
19901992 self .GPXtree .Expand (Id )
19911993 self .GPXtree .SelectItem (Id ) # perhaps this is better as a CallAfter (See #282)
1994+ if GSASIIpath .GetConfigValue ('debug' ): print ('crash debug: after Select Item' )
19921995
19931996 G2fil .CleanupFromZip ('instprm' ,self .cleanupList )
19941997 if not newHistList : return # somehow, no new histograms
You can’t perform that action at this time.
0 commit comments