Describe the bug
When placing Source_gen with my input file spectrum_anew.txt, the final entry of the spectrume is loaded and used for all wavelengths, thereby creating a flat wavelength distribution instead of my input distribution.
The instrument and the spectrum can be found here:
src_gen_bug.txt
spectrum_anew.txt
OS and McStas/McXtrace version (please complete the following information):
- OS: MacOs
- McStas
- Version 3.7.4
Describe the bug
When placing Source_gen with my input file spectrum_anew.txt, the final entry of the spectrume is loaded and used for all wavelengths, thereby creating a flat wavelength distribution instead of my input distribution.
The instrument and the spectrum can be found here:
src_gen_bug.txt
spectrum_anew.txt
OS and McStas/McXtrace version (please complete the following information):