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

[imaging browser] Fix Human dangling out of nowhere #8363

Conversation

cmadjar
Copy link
Collaborator

@cmadjar cmadjar commented Feb 6, 2023

Brief summary of changes

This resolves #7876.

When downloading the imaging browser list data as CSV, there are dangling "Human"s with no header associated to it as can be seen below:
image

This PR corrects the issue so that the Human's have a proper header. It also resolves the Human being placed under T1 QC status for example when no scan types are selected to be displayed in the Config module under the Imaging Module tab. See screenshot below for the bug that was introduced in 24:
Screen Shot 2023-02-06 at 5 24 52 PM

In addition, there is currently a bug with the order of the QC status displayed in the imaging browser and the headers in the table. This PR also fix the bug.

As for the content of the CSV showing more columns than what is being displayed, this is a LORIS wide behaviour, not an actual bug.

@cmadjar cmadjar added Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) 24.0.0-bugs Issues or bug fix PRs that were raised during the testing of release 24.0.0 labels Feb 6, 2023
@cmadjar
Copy link
Collaborator Author

cmadjar commented Feb 6, 2023

@driusan @ridz1208 I sent this to 24.1-release as this corrects a bug that was introduced in LORIS 24. The one with "Human" under T1W QC. I noticed that on HBCD last week and the same week @thomasbeaudry updated his LORIS instance to 24 and noticed it as well. So this should probably go in the next bug fix.

@cmadjar cmadjar added the Needs Work PR awaiting additional changes by the author or contains issues that the author needs to fix label Feb 9, 2023
@cmadjar cmadjar removed the Needs Work PR awaiting additional changes by the author or contains issues that the author needs to fix label Feb 9, 2023
Copy link
Contributor

@nicolasbrossard nicolasbrossard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't see anything wrong with the code. Pulled the branch on my VM and tested: works perfectly. Approving. 👍

@driusan driusan merged commit 294a1e9 into aces:24.1-release Feb 14, 2023
@ridz1208 ridz1208 added this to the 24.1.2 milestone Mar 6, 2023
zaliqarosli pushed a commit to zaliqarosli/Loris that referenced this pull request Mar 6, 2023
When downloading the imaging browser list data as CSV, there are dangling "Human"s in a column with no header associated to it.

Resolves aces#7876.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
24.0.0-bugs Issues or bug fix PRs that were raised during the testing of release 24.0.0 Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants