Skip to content

Suppress loading/plotting of event lists#2412

Merged
willend merged 1 commit intomccode-dev:mainfrom
willend:main
Apr 23, 2026
Merged

Suppress loading/plotting of event lists#2412
willend merged 1 commit intomccode-dev:mainfrom
willend:main

Conversation

@willend
Copy link
Copy Markdown
Contributor

@willend willend commented Apr 23, 2026

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:

Suppress loading/plotting of event lists
(fixes #292 / #1150 / #1245)

McStas 3.6.15 plot with event data:
Screenshot 2026-04-23 at 19 15 48

This PR with suppressed event data:
Screenshot 2026-04-23 at 19 11 34

As a bonus, failure to load an uncompleted / broken file will lead to an empty plot with the text 'Unknown format'


Development OS / boundary conditions

Please describe what OS you developed and tested your additions on, and if any special dependencies are required:


PR Checklist for contributing to McStas/McXtrace

For a coherent and useful contribution to McStas/McXtrace, please fill in relevant parts of the checklist:


@willend willend merged commit b5f2774 into mccode-dev:main Apr 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mccode-r.c: Define special # type for event lists

1 participant