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

IndexError running Jasmine #232

Closed
biblicabeebli opened this issue Dec 12, 2023 · 1 comment · Fixed by #237
Closed

IndexError running Jasmine #232

biblicabeebli opened this issue Dec 12, 2023 · 1 comment · Fixed by #237
Assignees
Labels
bug Something isn't working

Comments

@biblicabeebli
Copy link
Member

biblicabeebli commented Dec 12, 2023

its currrently the only forest task on this study, task id is 63370382-808a-4415-b44b-ef6a6854d386
https://studies.beiwe.org/studies/878/forest/tasks

Looks like a simple length check to fix.

commit hash should be fcc49a7 - its a commit on my beiwe-taskrunner branch.

IndexError: list index out of range
  File "services/celery_forest.py", line 165, in run_forest_task
    run_forest(task)
  File "services/celery_forest.py", line 216, in run_forest
    TREE_TO_FOREST_FUNCTION[forest_task.forest_tree](**params_dict)
  File "forest/jasmine/traj2stats.py", line 1674, in gps_stats_main
    mobmat1 = gps_to_mobmat(
  File "forest/jasmine/data2mobmat.py", line 588, in gps_to_mobmat
    avgmat = collapse_data(raw_gps_data, interval, accuracy_limit)
  File "forest/jasmine/data2mobmat.py", line 184, in collapse_data
    t_start = sorted(np.array(data.timestamp))[0] / 1000

Sentry link in case I need it later https://onnela-lab.sentry.io/issues/4689385205/?project=143573&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=5

@biblicabeebli
Copy link
Member Author

I reopened this issue because I need to track the fix to get it (and others) onto Beiwe servers. I'll assign it to myself and try to get through it to get it out of the repo soon. I think there are several of these, this process is an artifact of coming back from vacation and reviewing all the things.

Only the github issue thread view, e.g. https://github.com/onnela-lab/forest/issues/232, contained the reference to #237 from over on that thread, so this showed up in the issue tracker view as closed without comment and so I hit the reopen button over there.

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
None yet
Development

Successfully merging a pull request may close this issue.

3 participants