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

numpy DeprecationWarnings #1074

Closed
dweindl opened this issue Jun 5, 2023 · 0 comments
Closed

numpy DeprecationWarnings #1074

dweindl opened this issue Jun 5, 2023 · 0 comments

Comments

@dweindl
Copy link
Member

dweindl commented Jun 5, 2023

test/petab/test_amici_objective.py::test_error_leastsquares_with_ssigma
test/petab/test_amici_objective.py::test_preeq_guesses
test/petab/test_petab_import.py::PetabImportTest::test_3_optimize
  /home/runner/work/pyPESTO/pyPESTO/pypesto/problem/base.py:240: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
    if self.x_guesses == np.zeros((0, self.dim_full)):

test/petab/test_petab_import.py::PetabImportTest::test_3_optimize
test/petab/test_petab_import.py::PetabImportTest::test_3_optimize
test/petab/test_petab_import.py::PetabImportTest::test_check_gradients
test/petab/test_petab_import.py::PetabImportTest::test_check_gradients
test/petab/test_petab_import.py::test_plist_mapping
test/petab/test_petab_import.py::test_plist_mapping
  /home/runner/work/pyPESTO/pyPESTO/pypesto/problem/base.py:240: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
    if self.x_guesses == np.zeros((0, self.dim_full)):
@dweindl dweindl self-assigned this Jun 5, 2023
dweindl added a commit that referenced this issue Jun 5, 2023
dweindl added a commit that referenced this issue Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants