Skip to content

ykszk/autoqr

Repository files navigation

Q/R for DICOM

codecov

  • Sequentially execute Q/R
  • Scheduled execution (e.g. execute Q/R only during night-time)

Requirements

movescu from dcmtk

Run

python gui.py

Scripts

  • range_query.py: Query studies based on date range
  • study_query.py: Query series by study instance UID
  • scripts/split_csv.py: Split csv by the number of rows
  • scripts/concat_csv.py: Concatenate multiple csv files
  • scripts/dcmsendall.py: Useless since dcmsend has the same functionality. (--scan-directories and --recurse options)
  • scripts/remove_original.py: Remove columns containing "original".

Development

Init

# Install packages
pip install -r requirements.txt
# Packages for development
pip install freezegun
# Pre-commit hooks
pre-commit install

Test all

python -m pytest --cov tests

Test single file

python -m pytest tests/filename.py

Or ctrl+shift+b in vscode.

Test on GitHub Actions

Include [runtest] keyword in the commit message.

About

⏰Automated Q/R for DICOM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages