Skip to main content

Scans a directory for IMRT QA results

Project description

IQDMPDF

|build| |pypi| |Docs| |lgtm| |lgtm-cq| |Codecov|

What does it do?

Scans a directory for IMRT QA reports and parses data into a CSV

Other information

  • Free software: MIT license <https://github.com/IQDM/IQDM-PDF/blob/master/LICENSE>__
  • Documentation: Read the docs <https://iqdm-pdf.readthedocs.io>__
  • Tested on Python 3.6, 3.7, 3.8, 3.9

Dependencies

  • pdfminer.six <https://github.com/pdfminer/pdfminer.six>__
  • python-dateutil <http://scikit-learn.org>__
  • chardet <https://pypi.org/project/regressors/>__
  • pathvalidate <http://matplotlib.org>__

How to run

To scan a directory for IMRT QA report files and genereate a results .csv file:

iqdmpdf <initial-scan-dir>

Command line usage

NOTE: command line usage is still under construction for v0.2

.. code-block:: console

usage: iqdmpdf [-h] [-ie] [-od OUTPUT_DIR] [-rd RESULTS_DIR] [-all]
               [-of OUTPUT_FILE] [-ver] [-nr] [-df]
               [file_path]

Command line interface for IQDM

positional arguments:
  file_path             Initiate scan if directory, launch dashboard if
                        results file

optional arguments:
  -h, --help            show this help message and exit
  -ie, --ignore-extension
                        Script will check all files, not just ones with .pdf
                        extensions
  -od OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Output stored in local directory by default, specify
                        otherwise here
  -rd RESULTS_DIR, --results-dir RESULTS_DIR
                        Results assumed to be stored in local directory by
                        default, specify otherwise here
  -all, --process-all   Process all identified report files, otherwise only
                        new reports will be analyzed
  -of OUTPUT_FILE, --output-file OUTPUT_FILE
                        Output will be saved as <report_type>_results_<time-
                        stamp>.csv by default. Define this tag to customize
                        file name after <report_type>_
  -ver, --version       Print the IQDM version
  -nr, --no-recursive-search
                        Include this flag to skip sub-directories
  -df, --day-first      Assume day first for ambiguous dates in trending
                        dashboard

Vendor Compatibility

  • Sun Nuclear <http://sunnuclear.com>__: SNC Patient
  • ScandiDos <http://scandidos.com>__: Delta4

.. |build| image:: https://github.com/IQDM/IQDM-PDF/workflows/build/badge.svg :target: https://github.com/IQDM/IQDM-PDF/actions :alt: build .. |pypi| image:: https://img.shields.io/pypi/v/IQDM-PDF.svg :target: https://pypi.org/project/IQDM-PDF :alt: PyPI .. |lgtm-cq| image:: https://img.shields.io/lgtm/grade/python/g/IQDM/IQDM-PDF.svg?logo=lgtm&label=code%20quality :target: https://lgtm.com/projects/g/IQDM/IQDM-PDF/context:python :alt: lgtm code quality .. |lgtm| image:: https://img.shields.io/lgtm/alerts/g/IQDM/IQDM-PDF.svg?logo=lgtm :target: https://lgtm.com/projects/g/IQDM/IQDM-PDF/alerts :alt: lgtm .. |Codecov| image:: https://codecov.io/gh/IQDM/IQDM-PDF/branch/master/graph/badge.svg :target: https://codecov.io/gh/IQDM/IQDM-PDF :alt: Codecov .. |Docs| image:: https://readthedocs.org/projects/iqdm-pdf/badge/?version=latest :target: https://iqdm-pdf.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

IQDMPDF-0.2.dev1.tar.gz (220.9 kB view hashes)

Uploaded Source

Built Distribution

IQDMPDF-0.2.dev1-py3-none-any.whl (228.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page