Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests #140

Open
Joshuaalbert opened this issue Dec 5, 2024 · 0 comments
Open

Fix tests #140

Joshuaalbert opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Joshuaalbert
Copy link
Owner

FAILED dsa2000_cal/antenna_model/tests/test_utils.py::test_get_beam_width[lwa_mock] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/antenna_model/tests/test_utils.py::test_get_beam_width[dsa2000W_small] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/dsa2000W/antenna_config.txt'
FAILED dsa2000_cal/assets/arrays/dsa2000W_small/tests/test_array.py::test_beam - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/dsa2000W/antenna_config.txt'
FAILED dsa2000_cal/assets/arrays/dsa2000W_small/tests/test_array.py::test_antennas - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/dsa2000W/antenna_config.txt'
FAILED dsa2000_cal/assets/rfi/lte_rfi/tests/test_cell_tower.py::test_lte_rfi_source_factory - TypeError: Expected a callable value, got ParametricDelayACF(mu=Array([7.5e+08], dtype=float64), fwhp=Array([5000000.], dtype=float64), spectral_power=Array([20.], dtype=float64), channel_lower=Array([6.97500000e+0...
FAILED dsa2000_cal/common/tests/test_ad_utils.py::test_lanczos_eigen_big[complex-998-1000] - jaxlib.xla_extension.XlaRuntimeError: FAILED_PRECONDITION: Buffer Definition Event: Error dispatching computation: %sError dispatching computation: %sError dispatching computation: %sError dispatching computation: ...
FAILED dsa2000_cal/common/tests/test_fits_utils.py::test_repoint_fits - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/mocks/mock_faint_sky-model.fits'
FAILED dsa2000_cal/common/tests/test_fits_utils.py::test_image_model - ValueError: dl must be in rad
FAILED dsa2000_cal/common/tests/test_fits_utils.py::test_save_image_to_fits - ValueError: dl must be in rad
FAILED dsa2000_cal/delay_models/tests/test_far_field.py::test_resolution_error[baseline0] - ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.
FAILED dsa2000_cal/delay_models/tests/test_far_field.py::test_resolution_error[baseline1] - ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.
FAILED dsa2000_cal/delay_models/tests/test_far_field.py::test_resolution_error[baseline2] - ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.
FAILED dsa2000_cal/delay_models/tests/test_near_field.py::test_near_field - AttributeError: 'BaseNearFieldDelayEngine' object has no attribute 'ref_location'
FAILED dsa2000_cal/gain_models/tests/test_beam_gain_model.py::test_pytree_serialisation - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/gain_models/tests/test_beam_gain_model.py::test_beam_gain_model_factory[lwa_mock] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/gain_models/tests/test_beam_gain_model.py::test_beam_gain_model_factory[dsa2000W_small] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/dsa2000W/antenna_config.txt'
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[1-1-1-True-True] - AssertionError: assert (1, 5, 1, 1, 1, 2) == (1, 5, 1, 1, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[1-1-1-False-True] - AssertionError: assert (1, 5, 1, 1, 1, 2) == (1, 5, 1, 1, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[1-1-2-True-True] - AssertionError: assert (2, 5, 1, 1, 1, 2) == (2, 5, 1, 1, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[1-1-2-False-True] - AssertionError: assert (2, 5, 1, 1, 1, 2) == (2, 5, 1, 1, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[3-1-1-True-True] - AssertionError: assert (1, 5, 1, 3, 1, 2) == (1, 5, 1, 3, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[3-1-1-False-True] - AssertionError: assert (1, 5, 1, 3, 1, 2) == (1, 5, 1, 3, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[3-1-2-True-True] - AssertionError: assert (2, 5, 1, 3, 1, 2) == (2, 5, 1, 3, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_interpolator[3-1-2-False-True] - AssertionError: assert (2, 5, 1, 3, 1, 2) == (2, 5, 1, 3, 2, 2)
FAILED dsa2000_cal/gain_models/tests/test_spherical_interpolator.py::test_spherical_beams[dsa2000W_small] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/dsa2000W/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies0-0.0] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies0-0.1] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies0-0.2] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies1-0.0] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies1-0.1] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies1-0.2] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies2-0.0] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies2-0.1] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_evaluate_beam[coherencies2-0.2] - FileNotFoundError: [Errno 2] No such file or directory: '/home/albert/miniconda3/envs/dsa_py/lib/python3.11/site-packages/dsa2000_cal/assets/arrays/lwa/antenna_config.txt'
FAILED dsa2000_cal/imaging/tests/test_imagor.py::test_fit_beam - TypeError: sub got incompatible shapes for broadcasting: (1024,), (0,).
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_set_shapes[True] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_set_shapes[False] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[1-physical-True] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[1-physical-False] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[1-engineering-True] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[1-engineering-False] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[2-physical-True] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[2-physical-False] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[2-engineering-True] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[2-engineering-False] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[3-physical-True] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[3-physical-False] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[3-engineering-True] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/measurement_sets/tests/test_measurement_set.py::test_measurement_setting[3-engineering-False] - pydantic.error_wrappers.ValidationError: 1 validation error for MeasurementSetMeta
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-1-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-1-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-1-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-1-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-5-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-5-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-5-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-5-1-False-True-False] - AssertionError: 
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-1-1-5-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-1-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-1-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-1-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-1-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-5-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-5-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-5-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[1-3-1-5-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-1-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-1-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-1-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-1-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-5-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-5-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-5-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-1-1-5-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-1-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-1-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-1-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-1-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-5-0-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-5-0-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-5-1-False-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
FAILED dsa2000_cal/visibility_model/source_models/celestial/tests/test_gaussian_source_model.py::test_gaussian_predict[2-3-1-5-1-True-True-True] - TypeError: reshape total size must be unchanged, got new_sizes (2, 2) (of total size 4) for shape (1,) (of total size 1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant