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

Test warnings #725

Open
leehart opened this issue Feb 25, 2025 · 0 comments
Open

Test warnings #725

leehart opened this issue Feb 25, 2025 · 0 comments

Comments

@leehart
Copy link
Collaborator

leehart commented Feb 25, 2025

Just to note some warnings that appear during routine tests that should probably be addressed at some point:

tests/anoph/test_dipclust.py: 37 warnings
  site-packages/plotly/basedatatypes.py:2314: DeprecationWarning:
  
  The append_trace method is deprecated and will be removed in a future version.
  Please use the add_trace method with the row and col parameters.
WARNING  traitlets:interaction.py:250 Exception in interact callback:  Parameter 'variant' with value None in call to function
'plot_frequencies_map_markers' has incorrect type: found None,
expected int or str. See below for further information.

None did not match any element in the union:
  int: is not an instance of int
  str: is not an instance of str
Traceback (most recent call last):
  File "site-packages/ipywidgets/widgets/interaction.py", line 243, in update
    self.result = self.f(**self.kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^
  File "malariagen-data-python/malariagen_data/util.py", line 1163, in check_types_wrapper
    raise error from None
TypeError:  Parameter 'variant' with value None in call to function
'plot_frequencies_map_markers' has incorrect type: found None,
expected int or str. See below for further information.

None did not match any element in the union:
  int: is not an instance of int
  str: is not an instance of str
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

1 participant