curl -X POST --header 'Content-Type: application/json;charset=UTF-8' --header 'Accept: application/json' -d '{
"scan":"/data/experiments/XNAT_E00001/scans/3"
}' 'http://10.1.1.17/xapi/projects/XNAT_E00001/commands/3/wrappers/bet-nifti/launch'{ "name": "bet", "label": "bet", "description": "FSLBrainExtractionTool", "version": "1.0", "schema-version": "1.0", "info-url": "https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/BET/UserGuide", "image": "nipype/nipype:latest", "type": "docker", "index": "https://index.docker.io/v1/", "working-directory": null, "command-line": "bet /input /output [OPTIONS]", "override-entrypoint": null, "mounts": [ { "name": "nifti-in", "writable": false, "path": "/input" }, { "name": "extracted-nifti-out", "writable": true, "path": "/output" } ], "environment-variables": { "envName1": "envVal1", "envName2": "#inputReplacementKey#" }, "ports": { "22": "52222", "80": "8080" }, "inputs": [ { "name": "options", "description": "Comand-line flags to pass to bet", "type": "string", "matcher": null, "default-value": null, "required": false, "replacement-key": "[OPTIONS]", "command-line-flag": null, "command-line-separator": null, "true-value": null, "false-value": null } ], "outputs": [ { "name": "extracted-nifti", "description": "The nifti file with brain extracted from skull and CSF", "required": true, "mount": "extracted-nifti-out", "path": null, "glob": "" } ], "xnat": [ { "name": "bet-nifti", "description": "Run FSL’s brain extraction on a nifti file.", "contexts": [ "xnat:imageScanData" ], "external-inputs": [ { "name": "scan", "description": "Input scan", "type": "Scan", "matcher": "'NIFTI' in @.resources[*].label", "default-value": null, "required": true, "replacement-key": null, "provides-value-for-command-input": "", "provides-files-for-command-mount": "", "via-setup-command": null, "user-settable": true, "load-children": true } ], "derived-inputs": [ { "name": "scan-nifti-bsc", "description": "The NIFTI scan with skull and CSF included", "type": "Resource", "matcher": "@.label == 'NIFTI'", "default-value": null, "required": true, "replacement-key": null, "provides-value-for-command-input": null, "provides-files-for-command-mount": "nifti-in", "user-settable": true, "load-children": true, "derived-from-wrapper-input": "scan", "derived-from-xnat-object-property": null, "via-setup-command": null } ], "output-handlers": [ { "name": "nifti-resource", "accepts-command-output": "extracted-nifti", "via-wrapup-command": null, "as-a-child-of-wrapper-input": "scan", "type": "Resource", "label": "NIFTI" } ] } ], "reserve-memory": null, "limit-memory": null, "limit-cpu": null}{
"status": "failure",
"params": {
"scan": "/data/experiments/XNAT_E00001/scans/3"
},
"command-id": 3,
"wrapper-id": null,
"message": "Missing values for required input: scan-nifti-bsc."
}
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to xnat_discussion@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
<Screen Shot 2018-04-30 at 10.55.24 PM.png><Screen Shot 2018-04-30 at 10.54.48 PM.png>
{"scan":"/experiments/XNAT_E00001/scans/3/resources/NIFTI"}
{ "name": "bet-direct", "label": "bet-direct", "description": "URI of NIFTI", "type": "string", "matcher": "'nii' in @", "default-value": null, "required": true, "replacement-key": null, "provides-value-for-command-input": "nifti-in", "provides-files-for-command-mount": "", "via-setup-command": null, "user-settable": true, "load-children": true } ], "derived-inputs": [], "output-handlers": [ { "name": "nifti-resource", "accepts-command-output": "extracted-nifti", "via-wrapup-command": null, "as-a-child-of-wrapper-input": "scan", "type": "Resource", "label": "NIFTI" } ] }, { "name": "bet-direct-nifti", "description": "Run FSL’s brain extraction on a nifti file.", "contexts": [ "xnat:imageScanData" ], "external-inputs": [ { "name": "scan", "description": "URI of NIFTI", "type": "string", "matcher": "'nii' in @", "default-value": null, "required": true, "replacement-key": null, "provides-value-for-command-input": "nifti-in", "provides-files-for-command-mount": "", "via-setup-command": null, "user-settable": true, "load-children": true } ], "derived-inputs": [], "output-handlers": [ { "name": "nifti-resource", "accepts-command-output": "extracted-nifti", "via-wrapup-command": null, "as-a-child-of-wrapper-input": "scan", "type": "Resource", "label": "NIFTI" } ] } ], "reserve-memory": null, "limit-memory": null, "limit-cpu": null}{"scan":"/experiments/XNAT_E00001/scans/3/resources/12/files/input_AX_FRFSE-XL_T2_20080822115111_3.nii"}
Flavin
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.