Skip to content

Conversation

@DavidStirling
Copy link
Member

As described on the forum, some users reported that the Score All function crashed with some databases.

Score All runs by breaking the objects list up into reasonably sized segments based on the image number. This crash happened when a particular segment (e.g. ImageNumbers 50-60) contained no objects. The fix should be simply continuing if there's no data to work with.

I've also removed the redundant 'AND 1=1' condition which was being added to queries whenever there was no filter active, because I see no reason to be doing this.

@imagesc-bot
Copy link

This pull request has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/cpa-score-all-indexerror-tuple-index-out-of-range/57856/5

@bethac07 bethac07 merged commit a653dc1 into master Feb 13, 2022
@bethac07 bethac07 deleted the Scoring branch February 13, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants