Skip to content

nib-ls dicoms support #487

Open
Open
@yarikoptic

Description

@yarikoptic

We need it... And I wonder if by default it should do grouping among provided dicom files if necessary.

Activity

massich

massich commented on Jun 15, 2017

@massich

can you elaborate?

yarikoptic

yarikoptic commented on Jun 15, 2017

@yarikoptic
MemberAuthor

ATM nib-ls just ignores DICOM files or directories with dicoms, e.g.:

yoh@hopa:/tmp> datalad install -r -g ///dicoms/dartmouth-phantoms/bids_test3
[INFO   ] Installing dataset at /tmp/bids_test3 from http://datasets.datalad.org/dicoms/dartmouth-phantoms/bids_test3 
[INFO   ] Getting 1 items of dataset <Dataset path=/tmp/bids_test3> ... 
[INFO   ] Actually getting 398 files 
                                                                                                                                                                                                                                  
1 installed item is available at                                                                                                                                                                                                  
<Dataset path=/tmp/bids_test3>

yoh@hopa:/tmp> nib-ls  bids_test3/temp000001/AAHead_Scout_MPR_cor/
bids_test3/temp000001/AAHead_Scout_MPR_cor/ failed

*yoh@hopa:/tmp> nib-ls  bids_test3/temp000001/AAHead_Scout_MPR_cor/1.3.12.2.1107.5.2.43.66112.2016092713*
bids_test3/temp000001/AAHead_Scout_MPR_cor/1.3.12.2.1107.5.2.43.66112.2016092713464798772101835.dcm failed
bids_test3/temp000001/AAHead_Scout_MPR_cor/1.3.12.2.1107.5.2.43.66112.2016092713464798790801836.dcm failed
bids_test3/temp000001/AAHead_Scout_MPR_cor/1.3.12.2.1107.5.2.43.66112.2016092713464798809401837.dcm failed
bids_test3/temp000001/AAHead_Scout_MPR_cor/1.3.12.2.1107.5.2.43.66112.2016092713502231347001836.dcm failed
bids_test3/temp000001/AAHead_Scout_MPR_cor/1.3.12.2.1107.5.2.43.66112.2016092713502231366801837.dcm failed
bids_test3/temp000001/AAHead_Scout_MPR_cor/1.3.12.2.1107.5.2.43.66112.2016092713502231386101838.dcm failed

and it would be lovely if it output fields making it consistent with nib-ls output for .nii.gz files but also allowing to specify DICOM header fields via -H HEADER_FIELDS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @yarikoptic@effigies@massich

        Issue actions

          nib-ls dicoms support · Issue #487 · nipy/nibabel