"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DraftDataset = void 0;
exports.DraftDataset = {
    data: {
        dataset: {
            id: 'ds003669',
            created: '2021-05-29T21:35:32.753Z',
            public: true,
            following: false,
            starred: false,
            worker: 'openneuro-prod-dataset-worker-3',
            comments: [],
            metadata: {
                datasetId: 'ds003669',
                datasetUrl: null,
                datasetName: null,
                firstSnapshotCreatedAt: null,
                latestSnapshotCreatedAt: null,
                dxStatus: 'Healthy / Control',
                tasksCompleted: [],
                trialCount: 400,
                grantFunderName: 'Wellcome Trust',
                grantIdentifier: '203147/Z/16/Z',
                studyDesign: 'Event related design',
                studyDomain: 'Perceptual metacognition',
                studyLongitudinal: 'Behavioural experiment',
                dataProcessed: null,
                species: 'Human',
                associatedPaperDOI: '10.7554/eLife.53900',
                openneuroPaperDOI: 'Mazor, M., Friston, K. J., & Fleming, S. M. (2020). Distinct neural contributions to metacognition for detecting, but not discriminating visual stimuli. ELife, 9, e53900.',
                seniorAuthor: null,
                adminUsers: [],
                ages: [],
                modalities: [],
                affirmedDefaced: true,
                affirmedConsent: false,
            },
            snapshots: [
                {
                    id: 'ds003669:1.0.0',
                    tag: '1.0.0',
                    created: '2021-05-29T21:50:52.314Z',
                    hexsha: '322d182d8b9485b172e9e3b88b9b9ebce7df2ce6',
                },
                {
                    id: 'ds003669:1.0.1',
                    tag: '1.0.1',
                    created: '2021-03-05T21:34:56.712Z',
                    hexsha: '2958d3ef04829147bf26e7c170054262520ada57',
                    deprecated: true,
                },
                {
                    id: 'ds003669:1.0.2',
                    tag: '1.0.2',
                    created: '2021-03-08T20:36:13.322Z',
                    hexsha: 'cbeed2aa8c473016e44d6875a6621cf0bedd82be',
                },
            ],
            permissions: {
                id: 'ds003669',
                userPermissions: [
                    {
                        user: {
                            id: '6d5eb579-7798-4364-bdbf-1509e67a0fd4',
                            email: 'mtnmzor@gmail.com',
                        },
                        level: 'admin',
                    },
                ],
            },
            draft: {
                issues: [
                    {
                        severity: 'warning',
                        code: 5,
                        reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                        files: [
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02312_magnitude1.json',
                                    path: '/datasets/ds003669/sub-MP02312/fmap/sub-MP02312_magnitude1.json',
                                    relativePath: '/sub-MP02312/fmap/sub-MP02312_magnitude1.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02312_magnitude2.json',
                                    path: '/datasets/ds003669/sub-MP02312/fmap/sub-MP02312_magnitude2.json',
                                    relativePath: '/sub-MP02312/fmap/sub-MP02312_magnitude2.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02312_phasediff.json',
                                    path: '/datasets/ds003669/sub-MP02312/fmap/sub-MP02312_phasediff.json',
                                    relativePath: '/sub-MP02312/fmap/sub-MP02312_phasediff.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02313_magnitude1.json',
                                    path: '/datasets/ds003669/sub-MP02313/fmap/sub-MP02313_magnitude1.json',
                                    relativePath: '/sub-MP02313/fmap/sub-MP02313_magnitude1.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02313_magnitude2.json',
                                    path: '/datasets/ds003669/sub-MP02313/fmap/sub-MP02313_magnitude2.json',
                                    relativePath: '/sub-MP02313/fmap/sub-MP02313_magnitude2.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02313_phasediff.json',
                                    path: '/datasets/ds003669/sub-MP02313/fmap/sub-MP02313_phasediff.json',
                                    relativePath: '/sub-MP02313/fmap/sub-MP02313_phasediff.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02319_magnitude1.json',
                                    path: '/datasets/ds003669/sub-MP02319/fmap/sub-MP02319_magnitude1.json',
                                    relativePath: '/sub-MP02319/fmap/sub-MP02319_magnitude1.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02319_magnitude2.json',
                                    path: '/datasets/ds003669/sub-MP02319/fmap/sub-MP02319_magnitude2.json',
                                    relativePath: '/sub-MP02319/fmap/sub-MP02319_magnitude2.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02319_phasediff.json',
                                    path: '/datasets/ds003669/sub-MP02319/fmap/sub-MP02319_phasediff.json',
                                    relativePath: '/sub-MP02319/fmap/sub-MP02319_phasediff.json',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "'TotalReadoutTime' is greater than 10 are you sure it's expressed in seconds?",
                                file: {
                                    name: 'sub-MP02320_magnitude1.json',
                                    path: '/datasets/ds003669/sub-MP02320/fmap/sub-MP02320_magnitude1.json',
                                    relativePath: '/sub-MP02320/fmap/sub-MP02320_magnitude1.json',
                                },
                            },
                        ],
                        additionalFileCount: 134,
                    },
                    {
                        severity: 'warning',
                        code: 8,
                        reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible.",
                        files: [
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-01_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_run-01_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-01_bold.json",
                                file: {
                                    name: 'sub-MP02350_task-detectdiscrim_run-01_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-01_bold.nii',
                                    relativePath: '/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-01_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-02_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_run-02_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-02_bold.json",
                                file: {
                                    name: 'sub-MP02350_task-detectdiscrim_run-02_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-02_bold.nii',
                                    relativePath: '/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-02_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-03_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_run-03_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-03_bold.json",
                                file: {
                                    name: 'sub-MP02350_task-detectdiscrim_run-03_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-03_bold.nii',
                                    relativePath: '/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-03_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-04_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_run-04_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-04_bold.json",
                                file: {
                                    name: 'sub-MP02350_task-detectdiscrim_run-04_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-04_bold.nii',
                                    relativePath: '/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-04_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-05_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/sub-MP02350_task-detectdiscrim_run-05_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_bold.json, /sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-05_bold.json",
                                file: {
                                    name: 'sub-MP02350_task-detectdiscrim_run-05_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-05_bold.nii',
                                    relativePath: '/sub-MP02350/func/sub-MP02350_task-detectdiscrim_run-05_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-01_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_run-01_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-01_bold.json",
                                file: {
                                    name: 'sub-MP02417_task-detectdiscrim_run-01_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-01_bold.nii',
                                    relativePath: '/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-01_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-02_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_run-02_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-02_bold.json",
                                file: {
                                    name: 'sub-MP02417_task-detectdiscrim_run-02_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-02_bold.nii',
                                    relativePath: '/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-02_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-03_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_run-03_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-03_bold.json",
                                file: {
                                    name: 'sub-MP02417_task-detectdiscrim_run-03_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-03_bold.nii',
                                    relativePath: '/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-03_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-04_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_run-04_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-04_bold.json",
                                file: {
                                    name: 'sub-MP02417_task-detectdiscrim_run-04_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-04_bold.nii',
                                    relativePath: '/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-04_bold.nii',
                                },
                            },
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: "You should define 'EffectiveEchoSpacing' for this file. If you don't provide this information field map correction will not be possible. It can be included one of the following locations: /task-detectdiscrim_bold.json, /task-detectdiscrim_run-05_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/sub-MP02417_task-detectdiscrim_run-05_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_bold.json, /sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-05_bold.json",
                                file: {
                                    name: 'sub-MP02417_task-detectdiscrim_run-05_bold.nii',
                                    path: '/datasets/ds003669/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-05_bold.nii',
                                    relativePath: '/sub-MP02417/func/sub-MP02417_task-detectdiscrim_run-05_bold.nii',
                                },
                            },
                        ],
                        additionalFileCount: 0,
                    },
                    {
                        severity: 'warning',
                        code: 101,
                        reason: 'The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification.',
                        files: [
                            {
                                evidence: null,
                                line: null,
                                character: null,
                                reason: 'The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification.',
                                file: null,
                            },
                        ],
                        additionalFileCount: 0,
                    },
                ],
                id: 'ds003669',
                files: [
                    {
                        id: '.bidsignore:23',
                        key: 'a49df903552159219ba94423f5d42bf0a7913a05',
                        filename: '.bidsignore',
                        size: 23,
                        directory: null,
                        annexed: false,
                    },
                    {
                        id: 'CHANGES:36',
                        key: '0b08b39488d678879132cb7ee6d058d141659172',
                        filename: 'CHANGES',
                        size: 36,
                        directory: null,
                        annexed: false,
                    },
                    {
                        id: 'dataset_description.json:1512',
                        key: 'b66ccc739f2e2a07d0008a24d156bb628e405298',
                        filename: 'dataset_description.json',
                        size: 1512,
                        directory: null,
                        annexed: false,
                    },
                    {
                        id: 'events.json:2243',
                        key: '9f5306b69bb054ed51a46bdbdaa67b2545f2f5a5',
                        filename: 'events.json',
                        size: 2243,
                        directory: null,
                        annexed: false,
                    },
                    {
                        id: 'task-detectdiscrim_bold.json:88',
                        key: '297708006f1597f18d2ff8179f9e5b584cce4259',
                        filename: 'task-detectdiscrim_bold.json',
                        size: 88,
                        directory: null,
                        annexed: false,
                    },
                    {
                        id: 'directory:sub-MP02312',
                        key: null,
                        filename: 'sub-MP02312',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02313',
                        key: null,
                        filename: 'sub-MP02313',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02319',
                        key: null,
                        filename: 'sub-MP02319',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02320',
                        key: null,
                        filename: 'sub-MP02320',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02324',
                        key: null,
                        filename: 'sub-MP02324',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02325',
                        key: null,
                        filename: 'sub-MP02325',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02327',
                        key: null,
                        filename: 'sub-MP02327',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02328',
                        key: null,
                        filename: 'sub-MP02328',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02332',
                        key: null,
                        filename: 'sub-MP02332',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02333',
                        key: null,
                        filename: 'sub-MP02333',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02336',
                        key: null,
                        filename: 'sub-MP02336',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02337',
                        key: null,
                        filename: 'sub-MP02337',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02338',
                        key: null,
                        filename: 'sub-MP02338',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02339',
                        key: null,
                        filename: 'sub-MP02339',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02340',
                        key: null,
                        filename: 'sub-MP02340',
                        size: 5,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02341',
                        key: null,
                        filename: 'sub-MP02341',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02348',
                        key: null,
                        filename: 'sub-MP02348',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02349',
                        key: null,
                        filename: 'sub-MP02349',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02350',
                        key: null,
                        filename: 'sub-MP02350',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02351',
                        key: null,
                        filename: 'sub-MP02351',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02353',
                        key: null,
                        filename: 'sub-MP02353',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02354',
                        key: null,
                        filename: 'sub-MP02354',
                        size: 29,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02360',
                        key: null,
                        filename: 'sub-MP02360',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02361',
                        key: null,
                        filename: 'sub-MP02361',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02363',
                        key: null,
                        filename: 'sub-MP02363',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02364',
                        key: null,
                        filename: 'sub-MP02364',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02367',
                        key: null,
                        filename: 'sub-MP02367',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02368',
                        key: null,
                        filename: 'sub-MP02368',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02376',
                        key: null,
                        filename: 'sub-MP02376',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02377',
                        key: null,
                        filename: 'sub-MP02377',
                        size: 29,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02378',
                        key: null,
                        filename: 'sub-MP02378',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02384',
                        key: null,
                        filename: 'sub-MP02384',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02398',
                        key: null,
                        filename: 'sub-MP02398',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02399',
                        key: null,
                        filename: 'sub-MP02399',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02407',
                        key: null,
                        filename: 'sub-MP02407',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02408',
                        key: null,
                        filename: 'sub-MP02408',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02417',
                        key: null,
                        filename: 'sub-MP02417',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02425',
                        key: null,
                        filename: 'sub-MP02425',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02428',
                        key: null,
                        filename: 'sub-MP02428',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02440',
                        key: null,
                        filename: 'sub-MP02440',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02500',
                        key: null,
                        filename: 'sub-MP02500',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02504',
                        key: null,
                        filename: 'sub-MP02504',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02506',
                        key: null,
                        filename: 'sub-MP02506',
                        size: 29,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02522',
                        key: null,
                        filename: 'sub-MP02522',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02523',
                        key: null,
                        filename: 'sub-MP02523',
                        size: 30,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02546',
                        key: null,
                        filename: 'sub-MP02546',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                    {
                        id: 'directory:sub-MP02552',
                        key: null,
                        filename: 'sub-MP02552',
                        size: 23,
                        directory: true,
                        annexed: null,
                    },
                ],
                modified: '2021-03-08T20:36:15.714Z',
                //readme: null,
                readme: '# Dataset of EEG recordings containing HFO markings for 30 pediatric patients with epilepsy \n\n## Summary\nHigh-frequency oscillations in scalp EEG are promising non-invasive biomarkers of epileptogenicity. However, it is unclear how high-frequency oscillations are impacted by age in the pediatric population. \nWe recorded and processed the first 3 hours of sleep EEG data in 30 children and adolescents with focal or generalized epilepsy. We used an automated and clinically validated high-frequency oscillation detector to determine ripple rates (80-250 Hz) in bipolar channels. The software for the detection of HFOs is freely available at the GitHub repository (https://github.com/ZurichNCH/Automatic-High-Frequency-Oscillation-Detector). Furthermore HFO markings are also added in this database for the selected N3 intervals.\n\n\n## Repository structure\n\n### Main directory (hfo/)\nContains metadata files in the BIDS standard about the participants and the study. Folders are explained below.\n\n### Subfolders\n* hfo/sub-**/\nContains folders for each subject, named sub-<subject number> and session information.\n* hfo/sub-**/ses-01/eeg\nContains the raw eeg data in .edf format for each subject. The duration is typically 3 hours, that was recorded in the beginning of the sleep. Details about the channels are given in the corresponding .tsv file. \n* hfo/derivatives\nBesides containingsubfolders for the raw data, there are two .json files. The events_description.json explains the meaning of the columns of the event description tsv files (in the subfolders).\nThe interval_description.json explains the meaning of the columns of the interval description tsv files (in the subfolders).\n\n* hfo/derivatives/sub-**/ses-01/eeg/\nContains processed data for each subject. Based on the sleep annotations, first we identified the sleep stages. Then we cut 5 minutes data intervals from the N3 sleep stages. We applied bipolar referencing by considering all nearest neighbour chanels, thus resulting in 52 bipolar channels. Each run corresponds to one 5 minute data interval. The DataIntervals.tsv file provides information about how the various runs are related to the raw data by providing the start and end indeces. Besides the .edf and channel descriptor .tsv files there is an other .tsv file containing the detected candidate event details. Eg. sub-26_ses-01_task-hfo_run-01_events.tsv contains for subject 26 for the first processed data interval the event markings as indeces with additional features of this event described in the abovementioned events_description.json file.\n\n\n## Related materials\nThe code for HFO detection is available at https://github.com/ZurichNCH/Automatic-High-Frequency-Oscillation-Detector\n\n\n## Support\nFor questions on the dataset or the task, contact Johannes Sarnthein at [johannes.sarnthein@usz.ch](johannes.sarnthein@usz.ch).\n',
                head: 'e34809b8f147cc06f2cf727bd5cf199f5c68fbea',
                description: {
                    Name: 'Confidence in Detection and Discrimination',
                    Authors: ['Matan Mazor', 'Karl J. Friston', 'Stephen M. Fleming'],
                    DatasetDOI: '10.18112/openneuro.ds003669.v1.0.0',
                    License: 'CC0',
                    Acknowledgements: 'We thank Maayan Keshev, Dan Bang, Madeleine Scott, Peter Zeidman, Nadège Corbin, Tim Tierney, Emma Holmes, Max Rollwage, Roni Maimon, Rani Moran, Noam Mazor and the FIL imaging team for their help in different stages of this project. The Wellcome Centre for Human Neuroimaging is supported by core funding from the Wellcome Trust (203147/Z/16/Z). SMF is supported by a Sir Henry Dale Fellowship jointly funded by the Wellcome Trust and the Royal Society (206648/Z/17/Z).',
                    HowToAcknowledge: 'Please cite this paper: https://elifesciences.org/articles/53900',
                    Funding: [
                        'Wellcome Trust (203147/Z/16/Z)',
                        'Wellcome Trust and Royal Society (206648/Z/17/Z)',
                    ],
                    ReferencesAndLinks: [
                        'https://elifesciences.org/articles/53900',
                        'Mazor, M., Friston, K. J., & Fleming, S. M. (2020). Distinct neural contributions to metacognition for detecting, but not discriminating visual stimuli. ELife, 9, e53900.',
                    ],
                    EthicsApprovals: [
                        'Human subjects: Participants gave their informed consent to take part in the experiment. The experiment was approved by the UCL ethics committee (approval numbers 8231/001 and 1260/003).',
                    ],
                },
                summary: {
                    modalities: ['T1w', 'bold', 'events', 'fieldmap'],
                    sessions: [],
                    subjects: [
                        'MP02312',
                        'MP02313',
                        'MP02319',
                        'MP02320',
                        'MP02324',
                        'MP02325',
                        'MP02327',
                        'MP02328',
                        'MP02332',
                        'MP02333',
                        'MP02336',
                        'MP02337',
                        'MP02338',
                        'MP02339',
                        'MP02340',
                        'MP02341',
                        'MP02348',
                        'MP02349',
                        'MP02350',
                        'MP02351',
                        'MP02353',
                        'MP02354',
                        'MP02360',
                        'MP02361',
                        'MP02363',
                        'MP02364',
                        'MP02367',
                        'MP02368',
                        'MP02376',
                        'MP02377',
                        'MP02378',
                        'MP02384',
                        'MP02398',
                        'MP02399',
                        'MP02407',
                        'MP02408',
                        'MP02417',
                        'MP02425',
                        'MP02428',
                        'MP02440',
                        'MP02500',
                        'MP02504',
                        'MP02506',
                        'MP02522',
                        'MP02523',
                        'MP02546',
                        'MP02552',
                    ],
                    subjectMetadata: null,
                    tasks: ['visual detection and discrimination'],
                    size: 17784947041,
                    totalFiles: 1092,
                    dataProcessed: false,
                },
            },
            uploader: {
                id: '6d5eb579-7798-4364-bdbf-1509e67a0fd4',
                name: 'Matan Mazor',
                email: 'mtnmzor@gmail.com',
            },
            analytics: {
                downloads: 2,
                views: 639910,
            },
            onBrainlife: true,
        },
    },
    extensions: {
        openneuro: {
            version: '3.33.5',
        },
        cacheControl: {
            version: 1,
            hints: [
                {
                    path: ['dataset'],
                    maxAge: 0,
                },
            ],
        },
    },
};
