Comments (2)
On Jun 10, 2014, at 5:03, Erin Sheldon [email protected] wrote:
Either define FITSError and put everything there, or make some betterchoices about how to use built-in errors.
should file not found errors be FITSError or IOError?
I vote IOError. FITSError should be reserved for things that are genuinely unique to FITS parsing, like a malformed FITS file.
Stephen
—
Reply to this email directly or view it on GitHub.
from fitsio.
I agree.
See my recent commit. I cleaned up the exceptions in the sense that I am
using them more appropriately. E.g. IOError when appropriate, TypeError, etc.
But I decided not to add a FITSError yet. If you see cases where that would
be appropriate I would like to discuss.
from fitsio.
Related Issues (20)
- Return requested row order rather than sorted
- Bug when installing fitsio in one of the new Apple M2 Max HOT 18
- 1.1.9 segfaults in test_table_read_write() on i586 HOT 3
- Image return None value HOT 13
- cfitsio build failure HOT 8
- GZIP_2 does not appear to do lossless compression HOT 4
- lossless gzip not finalizing wile FITS object is open
- Please consider forwarding cfitsio adjustments to upstream HOT 2
- Consider support for `numpy` 2 variable length string `StringDType`
- move to ruff for linter in order to help flag numpy2 issues HOT 1
- Build failures against NumPy 2.0 with GCC 14 HOT 8
- 1.2.2 on pypi? HOT 4
- fitsio error while pip installing HOT 5
- bzip and curl checks don't seem to be working
- CFITSIO changed license: incompatible with GPL HOT 14
- Error when using pip install for fitsio HOT 5
- Error when install fitsio on linux, both 'pip install fitsio' and 'python setup.py install' failed. HOT 5
- Issue with slicing HOT 5
- fits_hcompress.c HOT 4
- Licensing under the LGPL
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 fitsio.