Skip to content

Dcm2niix Troubleshooting

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

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

  5. Click the Provenance tab. If there is:

    Contact Flywheel support 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. Projects can be configured to automatically classify new data by using File Metadata Importer and File Classifier within a Gear Rule workflow. This workflow extracts header information from the DICOMs, saves the header as metadata, and uses the metadata to classify DICOM files according to default or custom classification profiles. Learn more about best practices for classifying data in Flywheel.

Even if you have the File 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. 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 DICOM Connector User Guide.

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

  6. Hover over an acquisition, and select the information icon information_icon_in_bar_.png.

  7. Review the information. The following fields should all be configured:

    • Modality
    • Feature
    • Intent
    • Measurement

    Here's an example of a classified file:

    FileClassificationInformation.png

  8. 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.