Fix integrate_1d()
This commit is contained in:
parent
decb69a599
commit
17404a36e4
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ def integrate_1d(data, options={}):
|
||||||
|
|
||||||
res = ai.integrate1d(data['image'], data['nbins'], unit=options['unit'], filename=filename)
|
res = ai.integrate1d(data['image'], data['nbins'], unit=options['unit'], filename=filename)
|
||||||
|
|
||||||
diffractogram = read_xy(filename)
|
diff_data = {'path': filename}
|
||||||
|
diffractogram = read_xy(data=diff_data, options=options)
|
||||||
|
|
||||||
if not options['save']:
|
if not options['save']:
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue