Skip to content

[FIX] return all labels for HCPex atlas #118

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

Merged
merged 3 commits into from
Mar 15, 2024
Merged

[FIX] return all labels for HCPex atlas #118

merged 3 commits into from
Mar 15, 2024

Conversation

Remi-Gau
Copy link
Contributor

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @Remi-Gau - I've reviewed your changes and they look great!

General suggestions:

  • Verify that the change in header line handling does not inadvertently include metadata as data.
  • Ensure that the updated test reflects the intended behavior and accurately tests the fix.
Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@@ -62,7 +62,7 @@

fid = fopen(roiLabelLUT);
pattern = '%f%s%s%f';
C = textscan(fid, pattern, 'Headerlines', 1);
Copy link

Choose a reason for hiding this comment

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

question (bug_risk): Changing the 'Headerlines' parameter from 1 to 0 in the textscan function call will result in the first line of the file being read as data rather than being skipped as a header. Ensure that this change is intentional and that the first line of the file does not contain column headers or other metadata that should not be treated as data.

@Remi-Gau Remi-Gau merged commit 243be73 into main Mar 15, 2024
@Remi-Gau Remi-Gau deleted the fix/117 branch March 15, 2024 09:43
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.

[BUG] (solution provided!) HCPex atlas does not produce Left V1 ROI due to wrong LUT reading in getLookUpTable.m
1 participant