Comments (2)
On Fri, 08 Feb 2013 08:48:16 -0800
picca [email protected] wrote:
Hello, When I try to use pyFAI-calib with this
pyFAI-calib --spacing=CH_3.D CH_3.tiff
I get this:
INFO:TiffIO:Not closing not owned file
ERROR:pyFAI.peakPicker:ControlPoint.load: No such file CH_3.npt
INFO:pyFAI.peakPicker:Image size is (2048, 2048)
INFO:pyFAI.peakPicker:Binning size is [2, 2]
Please enter wavelength in Angstrom: INFO:pyFAI.peakPicker:Labeling found 15619 massifs.
INFO:pyFAI.peakPicker:Labeling found 15619 massifs.
1.7
INFO:root:Please use the GUI and Right-click on the peaks to mark them (center-click to erase last group)
Please press enter when you are happy; to fill in ring number
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in call
return self.func(_args)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 286, in button_press_event
FigureCanvasBase.button_press_event(self, x, y, num, guiEvent=event)
File "/usr/lib/pymodules/python2.7/matplotlib/backend_bases.py", line 1632, in button_press_event
self.callbacks.process(s, mouseevent)
File "/usr/lib/pymodules/python2.7/matplotlib/cbook.py", line 262, in process
proxy(_args, *_kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/cbook.py", line 192, in call
return mtd(_args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pyFAI/peakPicker.py", line 155, in onclick
a = self.points.pop()
File "/usr/lib/python2.7/dist-packages/pyFAI/peakPicker.py", line 366, in pop
self._angles.pop()
IndexError: pop from empty list
This is indeed a mis-behavour:
I guess you center clicked which is supposed to remove the last group on point entered, but there were no group of points...
I added a test to prevent this to show up in the future.
Thanks for the report, it is fixed in 3eaec24
Cheers,
Jérôme Kieffer [email protected]
from pyfai.
This bug has been fixed but in a clean way. I leave it like this until I find a better solution
from pyfai.
Related Issues (20)
- Still a bug in the calculation of delta-chi when playing with orientation HOT 2
- Refactor orientation management in pyFAI-calib2 widget
- Add benchmark value to the pyFAI-calib2
- Add grazing-incidence units HOT 1
- New tutorial with flatfield calculation for PDF measurments
- New deprecatin warning with silx v2.0
- Crash after clicking 'Extract more rings' during calibration with pyFAI-calib2 HOT 8
- pyFAI-diffmap removes all files, not selected files
- Missing metadata for application description
- Possible memory leak when using multigeomety ? HOT 1
- `method=(1d int, full split, LUT, cython)` gives different poisson uncertainties in comparison to other methods HOT 2
- Detector definition with variable pixel geometry HOT 1
- *Azimuthal* error model is not available in histogram and CSC algorithms
- Possible regression on Apple M1 with Python 3.12
- bug in `diff_map` application HOT 1
- fails to set the implementation in `diff_tomo`
- PyFAI-calib2 still crashes on macOS HOT 1
- `extract_cp` loop runs for all calibrant 2 theta values HOT 5
- Wavelength unit incorrect in Geometry.getImageD11 HOT 5
- pkg_resources is deprecated for importlib HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfai.