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

Rename nevent modules #34

Merged
merged 14 commits into from
Apr 27, 2024
Merged

Rename nevent modules #34

merged 14 commits into from
Apr 27, 2024

Conversation

sjswerdloff
Copy link
Owner

rename nevent modules
update readme(s)
make GUI top level executable

…al, with the default values for the examples mentioned or provided
updated import statements to avoid relative addressing (caused failures in imports in certain situations)
make GUI applications executable (so the user doesn't need to start by invoking python)
Add to README for RTBDI creator and describe use of CLI.
@sjswerdloff sjswerdloff added the invalid This doesn't seem right label Apr 26, 2024
@sjswerdloff sjswerdloff removed the invalid This doesn't seem right label Apr 26, 2024
@sjswerdloff sjswerdloff marked this pull request as ready for review April 26, 2024 04:28
@sjswerdloff sjswerdloff requested a review from celeron533 April 26, 2024 18:02
Copy link
Collaborator

Choose a reason for hiding this comment

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

still a reference to previous filename upsscp.py in comment of line 1

Copy link
Owner Author

Choose a reason for hiding this comment

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

Fixed

Delete vestigial commented out import statements
Correct the name of the module that uses this ini file
@sjswerdloff sjswerdloff merged commit 56db9e9 into main Apr 27, 2024
1 check passed
@@ -104,10 +104,12 @@ def _setup_argparser():
# Description
parser = argparse.ArgumentParser(
description=(
"The neventscu application implements a Service Class User "
Copy link
Collaborator

Choose a reason for hiding this comment

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

I understand what you mean as in main, when the association is created, it is not using the role selection negotiation to set the SCP role for the Unified Procedure Step - Event SOP Class to SCP and the SCU. So, as explained in KK.1.3.1 Association Negotiation, the default SCU role for an association-requestor will be used.
I think that an association-requestor could actually propose the UPS Event presentation context as SCP and that the association-acceptor could accept it with the role SCU. Whether pynetdicom alllows this, I am not sure of. But if it does it would be more in line with the standard.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I will update the content to reflect sender vs scu
The role proposal you describe is an option in the Standard but that isn't what the example is trying to demonstrate.
I think the approach you mention is worthy of a longer discussion in a separate issue.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I understand what you mean as in main, when the association is created, it is not using the role selection negotiation to set the SCP role for the Unified Procedure Step - Event SOP Class to SCP and the SCU. So, as explained in KK.1.3.1 Association Negotiation, the default SCU role for an association-requestor will be used.
I think that an association-requestor could actually propose the UPS Event presentation context as SCP and that the association-acceptor could accept it with the role SCU. Whether pynetdicom alllows this, I am not sure of. But if it does it would be more in line with the standard.

Sorry, I didn't realise you were still reviewing and I would not have merged had i realised that. I will follow up with a "clean up" PR to address any remaining comments

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.

N-EVENT scripts and classes have SCU and SCP labels reverse of nominal usage
3 participants