Open OrbitalMechanic opened 4 years ago
I attempted to install Orbitdeterminator under Python 3.7. I was successful at installing Orbitdeterminator from the test I ran:
(xOrbDet) user@Samuels-Mac-Pro orbitdeterminator % pytest
======================================================================================== test session starts ========================================================================================
platform darwin -- Python 3.7.8, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: /Users/user/orbitdeterminator
plugins: timeout-1.3.4, doctestplus-0.7.0, arraydiff-0.3, hypothesis-5.20.2, remotedata-0.3.1, openfiles-0.5.0, astropy-header-0.1.2
collected 26 items
orbitdeterminator/tests/test_check_keplerian.py .... [ 15%]
orbitdeterminator/tests/test_ellipse_fit.py . [ 19%]
orbitdeterminator/tests/test_filters.py . [ 23%]
orbitdeterminator/tests/test_gibbsMethod.py ........ [ 53%]
orbitdeterminator/tests/test_input_transf.py . [ 57%]
orbitdeterminator/tests/test_kalman.py .. [ 65%]
orbitdeterminator/tests/test_lamberts_kalman.py . [ 69%]
orbitdeterminator/tests/test_orbit_trajectory.py .. [ 76%]
orbitdeterminator/tests/test_sav_golay.py ... [ 88%]
orbitdeterminator/tests/test_sgp4.py .. [ 96%]
orbitdeterminator/tests/test_statekep_kepstate.py . [100%]
========================================================================================= warnings summary ==========================================================================================
orbitdeterminator/kep_determination/gibbsMethod.py:141
/Users/user/orbitdeterminator/orbitdeterminator/kep_determination/gibbsMethod.py:141: DeprecationWarning: invalid escape sequence \s
r1 = self.convert_list(re.split('\t|\s', str1))
orbitdeterminator/kep_determination/gibbsMethod.py:142
/Users/user/orbitdeterminator/orbitdeterminator/kep_determination/gibbsMethod.py:142: DeprecationWarning: invalid escape sequence \s
r2 = self.convert_list(re.split('\t|\s', str2))
orbitdeterminator/kep_determination/gibbsMethod.py:157
/Users/user/orbitdeterminator/orbitdeterminator/kep_determination/gibbsMethod.py:157: DeprecationWarning: invalid escape sequence \s
r3 = self.convert_list(re.split('\t|\s', str3))
-- Docs: https://docs.pytest.org/en/latest/warnings.html
================================================================================== 26 passed, 3 warnings in 6.66s ===================================================================================
(xOrbDet) user@Samuels-Mac-Pro orbitdeterminator % conda list
# packages in environment at /Users/user/opt/anaconda3/envs/xOrbDet:
The entire installation processed is captured in the attached file. My next step will be running the tutorial in the documentation. However, I still have questions concerning the three warning issued.
Please advise.
Sam Dupree
Hi @OrbitalMechanic, as far as I was able to see, the tests had paths leading to nowhere. I opened this PR for it https://github.com/aerospaceresearch/orbitdeterminator/pull/206 and it solved (at least my) problems. I still need to check for the check_sgp4 for what that is used https://github.com/aerospaceresearch/orbitdeterminator/issues/207 But I think it was these artifacts I also see in your copied logs.
For example the lamberts_kalman.py is in .kep_determinator and adding the orbitdeterminator before caused problems for me. from orbitdeterminator.kep_determination import lamberts_kalman
Attempting to install Orbitdeterminator on a Mac Pro (2019) running Mac OS X Catalina (10.15.6) under the Anaconda environment.
I began the installation by creating an environment for Orbitdeterminator called OrbDet under Python 3.6. The installation was successful as depicted in the listing that follows.
The problem occurs when I attempt to test the install as follows.
Did I miss a step in the install, or what?
Please advise.
Sam Dupree.