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

bug: algorithm crash "AttributeError" #185

Open
shrouxm opened this issue Oct 8, 2024 · 0 comments
Open

bug: algorithm crash "AttributeError" #185

shrouxm opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shrouxm
Copy link
Member

shrouxm commented Oct 8, 2024

Site info

coordinate: -121.2375031, 47.3597221
pedon key in test CSV: 19922

traceback

Traceback (most recent call last):
  File "/home/roux/terraso/soil-id-algorithm/soil_id/tests/us/test_us.py", line 118, in test_with_real_data
    result_record["rank_result"] = rank_soils(
                                   ^^^^^^^^^^^
  File "/home/roux/terraso/soil-id-algorithm/soil_id/us_soil.py", line 1694, in rank_soils
    soilIDRank_output_pd = pd.read_csv(io.StringIO(list_output_data.rank_data_csv))
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'rank_data_csv'
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
Status: Todo
Development

No branches or pull requests

2 participants