Skip to content

Commit

Permalink
Merge pull request #1089 from SMI/fix/remove-modality-check
Browse files Browse the repository at this point in the history
  • Loading branch information
jas88 committed Mar 7, 2022
2 parents 6b66f9b + 7b1afe3 commit 73e978c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions news/1089-bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove invalid extraction modality check. Fixes #1059
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ protected ExtractJobStore()
[NotNull] IMessageHeader header)
{
Logger.Info($"Received new job info {message}");

// If KeyTag is StudyInstanceUID then ExtractionModality must be specified
if (message.KeyTag == "StudyInstanceUID" && string.IsNullOrWhiteSpace(message.ExtractionModality))
throw new ApplicationException($"ExtractionModality must be specified when the extraction key is StudyInstanceUID");

PersistMessageToStoreImpl(message, header);
}

Expand Down

0 comments on commit 73e978c

Please sign in to comment.