Skip to content

Commit 537327a

Browse files
discard elements error
1 parent 4c2cd05 commit 537327a

26 files changed

+122058
-3767
lines changed

crossreads_petrography/pxrf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def rename(x):
247247
df['Element']=df['Element'].apply(rename)
248248

249249
# ignoring elements that don't regress well
250-
df=df[~df.Element.isin({'Ba','Cr','La','Ni','V','Ce'})]
250+
df=df[~df.Element.isin(DISCARD_ELEMENTS)]
251251
df=df.set_index('Element')
252252

253253
for cx in ['Mass_fraction', 'Fit_Area','Sigma_Area']:

0 commit comments

Comments
 (0)