derivative.yaml 778 B

123456789101112131415161718192021
  1. ---
  2. tags:
  3. - name: pipeline
  4. pattern: "derivatives/([a-zA-Z0-9]+)"
  5. - name: subject
  6. pattern: "[/\\\\]+sub-([a-zA-Z0-9]+)"
  7. - name: session
  8. pattern: "[_/\\\\]+ses-([a-zA-Z0-9]+)"
  9. - name: filename
  10. pattern: "[_/\\\\]+([a-zA-Z0-9_]+)[\\.]"
  11. - name: acquisition
  12. pattern: "[_/\\\\]+acq-([a-zA-Z0-9]+)"
  13. - name: run
  14. pattern: "[_/\\\\]+run-([0-9]+)"
  15. - name: suffix
  16. pattern: "(?:^|[_/\\\\])([a-zA-Z0-9]+)\\.[^/\\\\]+$"
  17. - name: extension
  18. pattern: "[^./\\\\](\\.[^/\\\\]+)$"
  19. path_patterns:
  20. - "derivatives/{pipeline}/sub-{subject}[/ses-{session}]/sub-{subject}[_ses-{session}][_acq-{acquisition}][_run-{run}_{suffix}{extension}]"
  21. - "derivatives/{pipeline}/sub-{subject}[/ses-{session}]/sub-{subject}[_ses-{session}]_{filename}{extension}"