-
Notifications
You must be signed in to change notification settings - Fork 52
Allowing a suffix at the end of filename in batch upload imageuploader, like is done in imaging uploader now #159
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
Allowing a suffix at the end of filename in batch upload imageuploader, like is done in imaging uploader now #159
Conversation
…r, like is done in imaging uploader now
|
Can you add a usage section? May be something else is missing... |
|
Usage sections prints now without the -help |
batch_uploads_imageuploader
Outdated
| exit 2; | ||
| } | ||
|
|
||
| if ( !$ARGV[0] || !$profile ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!$ARGV[0] || is not required
|
Setting $profile = ''; instead of $profile = undef will prevent this error when -profile is not used: |
|
your requested changes are done. Thanks! |
|
Tested with: |
| } | ||
| if ($phantom eq 'N') { | ||
| if ($base ne $patientname) { | ||
| if ($patientname ne (substr ($base, 0, length($patientname)))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to use regular expression
This is to be in line with:
aces/Loris#2100
in the Loris 16.1 release
Usage details are here:
#133