Skip to content

[BUG]: Union enable_tagging=1 writes union_history.dat to run directory instead of output directory #2696

Description

@NoeB

Describe the bug
A clear and concise description of what the bug is.

When Tagging is enabled for a Union Component:

COMPONENT master = Union_master(enable_tagging=1)
It writes the output file: union_history.dat to the current directory instead of the output files directory.

In my opinion it should also be written to the output files directory so that all run related output files are stored in the same directory. But maybe there is also a reason to have in the run folder.

Document steps to reproduce the bug
Steps to reproduce the behavior:
Enable Tagging:
COMPONENT master = Union_master(enable_tagging=1)
and run a simulation with Union_components the union_history.dat file will appear in the run directory
Expected behavior
A clear and concise description of what you expected to happen.
I would expect it to be stored in the output directory along with the other Detector/Simulation output files
Screenshots
If applicable, add screenshots to help explain your problem.

OS and McStas/McXtrace version (please complete the following information):
Every version

Add your code / dataset
If applicable:

  • Please provide a zip-archive of instrument plus any local components, datafiles, …
  • Please provide all settings used (e.g. input parameters, mpi parallelisation level, …)
  • Please provide a zip-archive of your dataset

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions