Skip to content

Releases: mccode-dev/McCode

McStas/McXtrace v3.7.10

Choose a tag to compare

@willend willend released this 04 Jul 06:16
9377ea0

Tiny update, m*plot-html only.

What's Changed

Full Changelog: v3.7.9...v3.7.10

McStas/McXtrace v3.7.9

Choose a tag to compare

@willend willend released this 02 Jul 12:10
533625e

Changes in McStas/McXtrace 3.7.9, July 2nd, 2026

Release 3.7.9 marks a milestone for McXtrace that finally gets full support for complex number calculations using MSVC on Windows. We further improve the installation experience on Windows by addition of a new install script for downloading and setting up the MSVC compiler tool chain.

Install instructions

What's Changed

Common to McStas and McXtrace

Platform suppport

  • Windows
    • mctest / windows output improvement by @willend in #2505
    • batch-script to help install msvc on Windows by @willend in #2505
    • Add micromamba clean --all -y in install batches by @willend in #2507
    • Improved wording for README and add non-admin option to msvc-install script by @willend in #2508
    • Add git when setting up dev-env on Windows by @willend in #2510
  • Tools
    • mctest:
    • mcplot-html
    • mcdisplay:
      • Pass at key points in mcdisplay particleparser instead of raising exceptions. by @willend in #2516
    • mcrun
      • New --dirsuffix/--dirprefix switches for mcrun/mxrun by @willend in #2533
  • Shared lib-codes

McStas only

  • Minor comp / instrument improvements

McXtrace only

  • General
    • Support for MSVC (and complex numebers via mccode-complex-lib) on Windows
  • Comp / instrument improvements
    • McXtrace: Fix of #1579 for most (if not all) comps/instrs by @willend in #2504
    • McXtrace test target updates by @willend in #2515
    • Various fixes for McXtrace instruments by @willend in #2520
    • Filter.comp is in fact incomplete for refraction and shape != cube. by @willend in #2522
    • Temporary hack to avoid McXtrace cif2hkl fct. in Single_crystal on Windows by @willend in #2524
    • Windows/cif2hkl issue workaround for Test_PowderN by @willend in #2525
    • Various changes to stabilise McXtrace SOLEIL_PX2a tests by @willend in #2526
    • More McXtrace tweaks, SOLEIL_PX2a and SOLEIL_PSICHE by @willend in #2527
    • Beef up required stats for SOLEIL_PSICHE + adjust target val by @willend in #2528
    • McXtrace Enable all tests in Test_Mirrors by @willend in #2529
    • Fix header by @willend in #2530
    • Fix of McXtrace/mxdisplay of specific instr by @willend in #2533
    • Fix filter geometry by @ebknudsen in #2534
    • Improve on flexibility of McXtrace Filter.comp input types by @willend in #2543

Full Changelog: v3.7.6...v3.7.9

McStas/McXtrace v3.7.7

Choose a tag to compare

@willend willend released this 21 Jun 12:54
d8db6b7

What's Changed

Full Changelog: v3.7.6...v3.7.7

McStas/McXtrace v3.7.6

Choose a tag to compare

@willend willend released this 16 Jun 11:19
50f6f32

What's Changed

Common to McStas and McXtrace

Tools

  • mcgui/mxgui list mode scanning:
    • Support mcrun -L scan mode via mcgui 'Scan steps' entry by @willend in #2493
  • Small but important improvements to mcdisplay/mxdisplay:
    • pyqtgraph variant:
      • Restore various click/keyboard control across PyQt5/PyQt6
      • Improvements to mcdisplay(-pyqtgraph) component list (do not underflow main window) by @willend in #2489
      • Fix missing PyQt5->PyQt6 correction for mcdisplay-pyqtgraph by @willend in #2481
      • Fix of another mcdisplay-pyqtgraph PyQt6 vs PyQt5 bug by @willend in #2485
    • matplotlib variant:
      • Silence mcdisplay-matplotlib noise when pressing 'q' by @willend in #2483
    • Common, parsing-system:
      • Fix for rare bug: Add fflush(stdout) protection of DEBUG_COMPONENT (fix #2486) by @willend in #2487

Libraries

  • KDSource functional in mingw builds (+other minor improvements) by @willend in #2497 (comes with both McStas and McXtrace even though KDSource.comp is McStas-only for now
  • Get rid of ‘dirent’ dependency on Windows systems

Installers

McStas only

Components

McXtrace only

  • No McXtrace-specific comp/instr changes

Infrastructure, common to McStas/McXtrace

Full Changelog: v3.7.1...v3.7.6

McStas/McXtrace v3.7.5

Choose a tag to compare

@willend willend released this 15 Jun 20:40
4bb02bb

What's Changed

Full Changelog: v3.7.1...v3.7.5

McStas/McXtrace v3.7.4

Choose a tag to compare

@willend willend released this 09 Jun 08:37
afb0910

What's Changed

Full Changelog: v3.7.1...v3.7.4

McStas/McXtrace v3.7.3

Choose a tag to compare

@willend willend released this 08 Jun 20:19
d4db669

What's Changed

Full Changelog: v3.7.1...v3.7.3

McStas/McXtrace v3.7.2

Choose a tag to compare

@willend willend released this 29 May 14:45
c9e72f4

Minor update release

What's Changed

Full Changelog: v3.7.1...v3.7.2

McStas/McXtrace v3.7.1

Choose a tag to compare

@willend willend released this 21 May 17:15
3b3bb4d

Changes in McStas/McXtrace 3.7.1, May 21st, 2026

What's Changed

Main new developments:

Common McStas and McXtrace developments:

  • Up to 10 USERVARS supported with Monitor_nD (named user0,...,user9)
  • Qt5 → Qt6 across the package and dependencies
  • Bugfix: Fix of rare visualisation bug in mcdisplay/mxdisplay (e.g. box was not allowed as a comp name)
  • Doc improvements:
    • mcdoc/mxdoc can render .tex and .md in addition to .html
    • Example instruments come with an in-repo README.md generated via this mechanism
    • See e.g. McStas BNL_H8 or McXtrace ESRF ID01
  • CI/test improvements:
    • mcdisplay/mxdisplay visualisation is performed as part of mctest/mxtestruns (→ CI)
    • See top html files in McStas and McXtrace nightly test runs

McStas specific developments:

  • Integrated support for KDSource
    • New component KDSource
    • For usage details, see example instrument Test_KDSource and the KDSource documentation website
    • Available as automatic dependency on conda-forge based installations (including macOS and Windows 'installers'
    • Not available as .deb package on Debian systems but may function by installing via pip.
      Recommendation: Just use conda-forge.
  • Pulse-length adjustment available for ESS_butterfly
  • PowderN now supports NCrystal cfg-strings.
    • Forwards request to NCrystal that populates datastructures without intermediate .laz/.lau files
    • See example instrument Test_Powders - comp=0 mode
  • Bugfixes:
    • Fix to Union, orientation of loggers wrt. master comp
    • Bugfixes to recently added improved Union mesh
  • Contributions from NBI/KU:
  • McStas component manual uses .tex snippets from generated via components mcdoc

McXtrace specific developments:

Detailed list - from the git commit log:

Read more

McStas/McXtrace v.3.7.0

Choose a tag to compare

@willend willend released this 21 May 14:36
05072c4

Changes in McStas/McXtrace 3.7.0, May 21st, 2026

What's Changed

Main new developments:

Common McStas and McXtrace developments:

  • Up to 10 USERVARS supported with Monitor_nD (named user0,...,user9)
  • Qt5 → Qt6 across the package and dependencies
  • Bugfix: Fix of rare visualisation bug in mcdisplay/mxdisplay (e.g. box was not allowed as a comp name)
  • Doc improvements:
    • mcdoc/mxdoc can render .tex and .md in addition to .html
    • Example instruments come with an in-repo README.md generated via this mechanism
    • See e.g. McStas BNL_H8 or McXtrace ESRF ID01
  • CI/test improvements:
    • mcdisplay/mxdisplay visualisation is performed as part of mctest/mxtestruns (→ CI)
    • See top html files in McStas and McXtrace nightly test runs

McStas specific developments:

  • Integrated support for KDSource
    • New component KDSource
    • For usage details, see example instrument Test_KDSource and the KDSource documentation website
    • Available as automatic dependency on conda-forge based installations (including macOS and Windows 'installers'
    • Not available as .deb package on Debian systems but may function by installing via pip.
      Recommendation: Just use conda-forge.
  • Pulse-length adjustment available for ESS_butterfly
  • PowderN now supports NCrystal cfg-strings.
    • Forwards request to NCrystal that populates datastructures without intermediate .laz/.lau files
    • See example instrument Test_Powders - comp=0 mode
  • Bugfixes:
    • Fix to Union, orientation of loggers wrt. master comp
    • Bugfixes to recently added improved Union mesh
  • Contributions from NBI/KU:
  • McStas component manual uses .tex snippets from generated via components mcdoc

McXtrace specific developments:

Detailed list - from the git commit log:

Read more