Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #382

Closed
Open
Created Nov 10, 2019 by frey_m@frey_mMaintainer

Restart append data to probe

Summary

When restarting a simulation, the output is not properly appended to the probe H5 file.

Steps to reproduce

Restart a cyclotron simulation having a probe element.

What is the current bug behavior?

It overwrites the H5 file.

What is the expected correct behavior?

It appends the new turns to the H5 file leaving the previous steps untouched.

Possible fixes

Several possible fixes:

  • Set the OpalData::OPENMODE to APPEND in TrackRun if opal->inRestartRun() == True
  • Extend if-clause with || OpalData::getInstance()->inRestartRun() at line 224 of PluginElement::save().
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking