Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • inference inference
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • 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
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • HHHH
  • toolstools
  • inferenceinference
  • Merge requests
  • !54

Draft: Fix for too long names

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Florian Bury requested to merge fbury/inference:master into master Apr 27, 2022
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 1

Problem appeared when I tried to produce multiple (many) gof in one plot, error was

ERROR in TPDF::Open: Cannot open file:/afs/cern.ch/user/f/fbury/work/inference/data/store/PlotMultipleGoodnessOfFits/hh_model__model_default/multidatacards_a68c3886f7/m125.0/poi_r/saturated/dev/multigofs__poi_r__params_r1.0_r_gghh1.0_r_qqhh1.0_kl1.0_kt1.0_CV1.0_C2V1.0__freqtoys__t500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_500_tpb10_10_10_10_10_10_10_10_10_10_10_10_10_10_10_1.pdf

The problem appeared that ROOT had issues producing a PDF with such long name.

Crude fix was to cutout the string at max length of 250 below which there was no problem, obviously this could be refined but without deeper insight into the code I cannot offer better at the moment.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master