Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • id01-sxdm-utils id01-sxdm-utils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure 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
  • ID01-scienceID01-science
  • id01-sxdm-utilsid01-sxdm-utils
  • Merge requests
  • !12

get_sxdm_frame_sum() detector name check

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mattia Colalongo requested to merge colalong-main-patch-23348 into main Nov 24, 2022
  • Overview 4
  • Commits 4
  • Pipelines 4
  • Changes 1

get_sxdm_frame_sum() now checks first whether the name of the detector defined as an argument matches with the one in the .h5 file. If not, it raises and handles the error reminding you to double check

@zatterin you might probably have a smarter function already defined in the code that just does this quicker and cleaner

Ciao

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: colalong-main-patch-23348