Repository navigation
Dicom Router: rule kind that watches a folder for DICOM files - #205
Merged
Merged
Conversation
Each item in the folder (loose file, study folder, .zip or .7z) is sent with the Dicom Import engine and moved as a whole to Sent when every image was stored. A 7z is unpacked to router_tmp for the run only. Counts only; no names stored. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vpoz9s3ghEVHXSjnLFH7ed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A new rule Kind, Watch a folder for DICOM files, next to Watch a folder for PDFs.
.zip/.7zfile.Sentsub-folder.router_tmpin the data folder for the run only (removed after the run and when the app starts); links inside it are never followed.dicom_import.scan_foldergetsskip_topandSendOptions.record_paths(used by the watch); the Import page is unaffected.Testing
tests/test_dicom_watch.py) against a simulated PACS: study folders, loose files, ZIP and 7z, waiting items, PACS refusals and retry, one bad study not blocking others, items without DICOM, failed move, names never on disk, missing folder, the form and its errors, the dashboard unit and the settings export.Not tested
Generated by Claude Code