brainlife / ezbids

A web service for semi-automated conversion of raw imaging data to BIDS

Home Page:https://brainlife.io/ezbids

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SeriesNumber should not exist in object

soichih opened this issue · comments

I've noticed that analyzer.py is setting SeriesNumber at the Object (capitalizing it to distinguish from Javascript "object") level.

image

The information about series should come from series object by looking up the series list using series_id as array index. There were a few places in UI that were using SeriesNumber stored in Object, so I have corrected it to use series_id to lookup series object instead..

analyzer.py should also be updated to stop storing SeriesNumber at the object level to avoid future issues.