Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S Slicer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sam Horvath
  • Slicer
  • Merge requests
  • !1089

ENH: adds hook for loading directory archetypes

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Steve Pieper requested to merge github/fork/pieper/image-series-add-data into master Feb 08, 2019
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 9

When a directory is added via the Add Data dialog, it may contain a collection of files that should be treated as a single MRML data type, such as a series of image files that get loaded as a volume.

This change allows a qSlicerFileReader subclass to define a method that can examine the contents of a directory and filter out any files that should be loaded as a group. One of these files then serves as the archetype and the io properties can be configured such that the files are loaded correctly.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/pieper/image-series-add-data