Code Monkey home page Code Monkey logo

Comments (3)

gogrean avatar gogrean commented on June 18, 2024

Did you get an error similar to the one at the end of my post? The only time the test failed for me was when running it on multiple cores. I added a filename option to poly_load_save_sub (PR #46), which fixes the error below.

Traceback (most recent call last):
  File "/mnt/hd/gogrean/anaconda3/envs/piffpy2/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/mnt/hd/gogrean/code/Piff/tests/test_poly.py", line 381, in test_poly_load_save
    poly_load_save_sub(poly_type,poly_type)
  File "/mnt/hd/gogrean/code/Piff/tests/test_poly.py", line 336, in poly_load_save_sub
    with fitsio.FITS(filename,'rw',clobber=True) as f:
  File "/mnt/hd/gogrean/anaconda3/envs/piffpy2/lib/python2.7/site-packages/fitsio/fitslib.py", line 353, in __init__
    self._FITS =  _fitsio_wrap.FITS(filename, self.intmode, create)
IOError: FITSIO status = 105: couldn't create the named file
failed to create new file (already exists?):
output/poly_test_file.fits

from piff.

jmeyers314 avatar jmeyers314 commented on June 18, 2024

Hi Georgiana,

Yes. I think this fixes my issue. Thanks!

from piff.

rmjarvis avatar rmjarvis commented on June 18, 2024

Merged via PR #46

from piff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.