Skip to content

Logo Logo

Dcm2niix Troubleshooting

Introduction

The dcm2niix gear converts images in the DICOM format to NIFTI, and is often configured to run automatically as a Gear Rule.

Instruction Steps

This article gives some troubleshooting steps to take if you do not see your nifti file.

Verify the Gear Ran

To begin, see if the gear ran for your project:

  1. Sign in to Flywheel.
  2. Click Projects, and select the project where your data was added.
  3. Click Sessions.
  4. Select the session you are interested in viewing.

ProvenanceTab-nojobs-export.png

  1. Click the Provenance tab. If there is:

    Contact Flywheel support (Support@flywheel.io) if you have any questions about the log error messages

Verify Classifications

Classifications are used by Flywheel to consistently identify and label data. Flywheel uses these classifications (along with any other rules you have configured) to identify if files are eligible for the dcm2niix gear. If your files are not properly classified as DICOMs, then Flywheel will skip over them because it appears they are not valid input for this gear. In most cases, projects automatically classify new data by configuring the Scitran: DICOM MR Classifier gear as part of a Gear Rule. This gear extracts header information from the DICOMs to determine how to classify the image data. Learn more about best practices for data classifications in Flywheel.

Even if you have the DICOM MR Classifier gear set to run on new data, the classification process begins at the scanner. Your exam card should have all fields completed that are required for Flywheel. Learn more about how to name acquisitions for automated classifications. Note that the exact fields you need to fill out depend on your institution’s configuration. You should contact your local Site Admin for more details. To learn more, see our article about capturing data directly from MR scanners.

To verify your images have been classified:

  1. Sign in to Flywheel.
  2. Go to your project.
  3. Click Sessions.
  4. Select an session.
  5. Select the Acquisitions tab.

Acquisitions Tab

  1. Hover over an acquisition, and select the information icon information_icon_in_bar_.png.
  2. Review the information. The following fields should all be configured:

    • Modality
    • Feature
    • Intent
    • Measurement

Here's an example of a classified file:

FileClassificationInformation.png

  1. From here you can manually enter this information, and re-run the dcm2niix gear.

Verify Gear Rules

Check to make sure your gear rules are accurate for the data you are adding to Flywheel. To check the gear rules for your project:

  1. In your project, select the Gear Rules tab.
  2. Expand the dcm2niix gear rule.
  3. Verify the rules are correct for your data.
    For example, check the version of the gear. If the gear automatically updated to the latest version, data evaluation may have changed.
  4. Review the other gear rules for your project to make sure they don't conflict.

Help

Contact Flywheel support: Support@flywheel.io