-
INSTALL the PIP module for pydicom if not already on your system: https://github.com/pydicom/pydicom, sudo python3 -m pip install pydicom
-
SET 'WORKLIST_DIR' in the script to a PATH on your system where you want to store the generated MWL file.
-
The script already has a sample JSON description of a MWL. Just type:
cd /path/to/directoryfor/son_to_mwl.py
python3 json_to_mwl.py
- A sample mwl will be created the the WORKLIST_DIR.