-
Notifications
You must be signed in to change notification settings - Fork 1
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
Scan order check update #35
Comments
|
In the above code, if consecutive duplicate series are detected in 'series_order', a message cell will be added to 'series_order_target' at the index of the consecutive duplicate series (realigning series below it to the standard template), and 'order_diff' will be updated. |
@kcho Please let me know if you have any thoughts. I will hold off now for integrating this patch into the repository, as you know best where it should go. |
Done @kcho |
Bug due to modifying df during iteration. For some subjects with several consecutive duplicates, the df gets messy. |
I found this revised code from last year that was never pushed. I believe it resolves the issue but it still needs to be tested. If I recall correctly, I left this code in a comment last year, but I cannot find the comment.
|
The
Scan order
table in the QQC report checks the series order compared to the template dataset. This table is created byqqc.qqc.dicom.check_order_of_series
.You can try using the function by running the lines below in python
However, when a series gets repeated due to an issue in the initial scan, the order of series will be shifted by one and will not match the standard template anymore.
We need a function that
order_check_df
(pd.DataFrame
)Fail
intoPass
if just extra series were added toseries_order
column.series_order_target
column, and check if this mapping applies to each row in theseries_order
column?The text was updated successfully, but these errors were encountered: