Code Monkey home page Code Monkey logo

Comments (6)

HajimeKawahara avatar HajimeKawahara commented on August 15, 2024 1

Can you try PR #41? @kemasuda

from pyird.

HajimeKawahara avatar HajimeKawahara commented on August 15, 2024

Thanks for the bug report. Because I cannot reproduce the error, can you tell me the exact error you got?

from pyird.

kemasuda avatar kemasuda commented on August 15, 2024

I got this, and the reason is explained above.

======================================================================= FAILURES ========================================================================
____________________________________________________________________ test_get_radec _____________________________________________________________________

def test_get_radec():
    ra, dec = get_radec('HR8799')
    print(ra, dec)
    delta = ((ra - 346.86964833333326)**2+(dec - 21.134250555555553)**2)
  assert delta == 0.0

E assert 5.111882798134094e-12 == 0.0

tests/utils/test_getinfo.py:9: AssertionError
----------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------
346.86964875 21.134252777777778
================================================================ short test summary info ================================================================
FAILED tests/utils/test_getinfo.py::test_get_radec - assert 5.111882798134094e-12 == 0.0
============================================================= 1 failed, 8 passed in 29.18s ==============================================================

from pyird.

kemasuda avatar kemasuda commented on August 15, 2024

What's your output of Simbad.query_object('HR 8799')?

from pyird.

HajimeKawahara avatar HajimeKawahara commented on August 15, 2024

In my environment,

346.86964833333326 21.134250555555553

from pyird.

HajimeKawahara avatar HajimeKawahara commented on August 15, 2024

probably should we use HR8799 A?

from pyird.

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.