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

[Trawlwatch] ValueError: cannot convert float NaN to integer whrn reaching max vayage_id #100

Closed
rv2931 opened this issue Mar 8, 2024 · 1 comment
Labels
bug Something isn't working streamlit

Comments

@rv2931
Copy link
Collaborator

rv2931 commented Mar 8, 2024

When we display trajectory of a vessel, when voyage_id reach the max limit (voyage_id=2) an error is thrown

bloom | 2024-03-08 11:34:06.925 Uncaught app exception bloom | Traceback (most recent call last): bloom | File "/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script bloom | exec(code, module.__dict__) bloom | File "/project/src/pages/1_Vessel_Exploration.py", line 110, in <module> bloom | change_range(voyage_id) bloom | File "/project/src/pages/1_Vessel_Exploration.py", line 99, in change_range bloom | min_value = int(vf.index.min()) bloom | ValueError: cannot convert float NaN to integer

This erreor seems to be added by PR #87

Cf : #98 for discussion about this

image

image

@njouanin njouanin added bug Something isn't working streamlit labels Mar 21, 2024
@njouanin
Copy link
Collaborator

Obsolète

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working streamlit
Projects
None yet
Development

No branches or pull requests

2 participants