Skip to content

Logo Logo

CLI Reference Guide Import Bruker Data

If you have existing data from a Bruker Paravision device to import in to Flywheel, use the Flywheel CLI. The Flywheel CLI reads the parameter file to automatically determine subject, session, and acquisition metadata and places the data in to a container in the Flywheel hierarchy.

This article explains how to upload existing Bruker data to Flywheel.

Before Beginning

Instruction Steps

  1. Open Terminal or Windows Command Prompt.
  2. Note the location of the parent folder containing the files you are importing.
  3. Start with the following command. This command includes all the required flags for importing Bruker data:
fw import bruker <folder containing data> <group_ID> <project_label>

For example: fw import bruker ~/Documents/Study1 Psych "Example Study"

Note: If your project label includes spaces, place quotes around it when entering the command.

Flywheel CLI displays the data it has found and notes where it will import the files. It also notes if the Flywheel CLI will create a new container or use an existing container for the files.

  1. Add any additional optional flags.

For example: fw import bruker --audit-log ~/Documents/FWLog ~/Documents/Study1 Psych "Example Study"

See the reference guide for more information on the optional flags.

  1. Review the hierarchy and scan summary as shown to make sure it matches what you expect.

BrukerExampleImport.png

Note

See below for more information about what parameters Flywheel uses to create metadata.

  1. Enter yes to begin importing. The Flywheel CLI displays its import progress.

360043540054-confirmDICOMUpload.png 7. Once complete, sign in to Flywheel and view your data,

Troubleshooting

If you see an issue with the metadata labels, verify that these parameters are correctly configured. This is how Flywheel maps Bruker parameters to Flywheel metadata:

Bruker parameter Flywheel metadata
SUBJECT_id Subject label
SUBJECT_study_name Session label
SUBJECT_abs_date Session timestamp
ACQ_protocol_name Acquisition label
ACQ_abs_time Acquisition timestamp

Resources