Skip to content

Commit 70ce148

Browse files
committed
Merge remote-tracking branch 'remotes/origin/main'
2 parents 7321616 + b465078 commit 70ce148

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GSASII/GSASIIpwdplot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,13 +2429,13 @@ def onPartialConfig(event):
24292429
for i,item in enumerate(tbl):
24302430
if type(item) is dict: continue
24312431
if i in selectedPeaks:
2432-
Ni = N+1
2432+
#Ni = N+1
24332433
plotVline(Page,Plot,Lines,Parms,item[0],'yellow',False,'-')
24342434
Lines[-1].set_lw(Lines[-1].get_lw()+1)
24352435
plotVline(Page,Plot,Lines,Parms,item[0],color,True)
24362436
Lines[-1].set_lw(Lines[-1].get_lw()+1)
24372437
else:
2438-
Ni = N
2438+
#Ni = N
24392439
plotVline(Page,Plot,Lines,Parms,item[0],color,True)
24402440
except:
24412441
pass
@@ -3609,7 +3609,7 @@ def CopyRietveld2csv(Pattern,Plot,Page,filename):
36093609
DZ = (Pattern[1][1]-Pattern[1][3])*np.sqrt(wtFactor*Pattern[1][2])
36103610
valueList.append(DZ)
36113611

3612-
if sum(Pattern[1][0].mask): # are there are excluded points? If so, add them too
3612+
if hasattr(Pattern[1][0],'mask') and sum(Pattern[1][0].mask): # are there are excluded points? If so, add them too
36133613
lblList.append('excluded')
36143614
valueList.append(1*Pattern[1][0].mask)
36153615
lblList.append('Axis-limits')

0 commit comments

Comments
 (0)