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

add custom_info to group_dicoms_into_seqinfos call in parser #637

Closed

Conversation

bpinsard
Copy link
Contributor

No description provided.

@yarikoptic
Copy link
Member

are you trying to take over (which would be welcome to help bringing it over the finish line) the #581?

@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

❗ No coverage uploaded for pull request base (enh-custom-seqinfo@00f8b56). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                  Coverage Diff                  @@
##             enh-custom-seqinfo     #637   +/-   ##
=====================================================
  Coverage                      ?   81.35%           
=====================================================
  Files                         ?       42           
  Lines                         ?     3840           
  Branches                      ?        0           
=====================================================
  Hits                          ?     3124           
  Misses                        ?      716           
  Partials                      ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bpinsard
Copy link
Contributor Author

Didn't meant to take over, just to influence the PR to include what makes it work for us. :-)

Just added commits that should get the tests passing.
The main constraint for the custom_seqinfo is that is needs to be hashable: that is likely be an error people using that function will run into, so it will need to be clearly documented. Or maybe should we add a check on the return value in the code with a more explicit error message?

@yarikoptic
Copy link
Member

Didn't meant to take over,

if you can/want -- please do!

The main constraint for the custom_seqinfo is that is needs to be hashable: that is likely be an error people using that function will run into, so it will need to be clearly documented. Or maybe should we add a check on the return value in the code with a more explicit error message?

Good point/aspect. The more checks to puke as early as possible the better instead of delaying inevitable crash with obscure error.

---------------------------------------------------------------
``custom_seqinfo(series_files, wrapper)``
---------------------------------------------------------------
If present this function will be called on eacg group of dicoms with
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
If present this function will be called on eacg group of dicoms with
If present this function will be called on each group of dicoms with

we have codespell workflow which should pickup typos. If you rebase -- we better see it working on this PR too (for some reason it did not even though I think it was back 2 weeks ago when you started this PR)

Copy link
Member

Choose a reason for hiding this comment

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

oh, this is PR to my PR -- I will take it on and then rebase my PR. Thanks!

@yarikoptic yarikoptic force-pushed the enh-custom-seqinfo branch from 00f8b56 to de1a470 Compare March 3, 2023 17:48
@yarikoptic
Copy link
Member

I have fasfforwaded my branch to these changes (thanks @bpinsard ), then fixed up for my suggestions, rebased and force pushed in my PR (#581). because of rebase github did not figure out to close this PR. Let's continue from that newer state

@yarikoptic yarikoptic closed this Mar 3, 2023
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.

2 participants