Skip to content

Releases: mccode-dev/McCode

McStas/McXtrace v3.7.1

21 May 17:15
3b3bb4d

Choose a tag to compare

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

21 May 14:36
05072c4

Choose a tag to compare

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

McStas/McXtrace v. 3.6.21

05 May 10:57
8965599

Choose a tag to compare

What's Changed

Full Changelog: v3.6.14...v3.6.21

McStas/McXtrace v. 3.6.20

01 May 07:43
365a525

Choose a tag to compare

What's Changed

Full Changelog: v3.6.14...v3.6.20

McStas/McXtrace v. 3.6.19

01 May 04:49
36a0278

Choose a tag to compare

What's Changed

Full Changelog: v3.6.14...v3.6.19

McStas/McXtrace v. 3.6.18

30 Apr 16:59
2ece6e5

Choose a tag to compare

What's Changed

Full Changelog: v3.6.14...v3.6.18

McStas/McXtrace v. 3.6.17

30 Apr 11:13
0fdcc11

Choose a tag to compare

What's Changed

Full Changelog: v3.6.14...v3.6.17

McStas/McXtrace v. 3.6.16

25 Apr 15:49
0982d1a

Choose a tag to compare

What's Changed

Full Changelog: v3.6.14...v3.6.16

McStas/McXtrace v. 3.6.15

20 Apr 13:20
6861274

Choose a tag to compare

What's Changed

Hot-fix for NeXus oriented issue reported by Milan Klausz and Céline Durniak:

  • Ensure to fill all BINS-oriented detector struct members by @willend in #2407

Other minor incoming stuff

Full Changelog: v3.6.14...v3.6.15

McStas/McXtrace v. 3.6.14

12 Apr 19:18
846ac0d

Choose a tag to compare

What's Changed

New comps/instruments

New tool feature: NeXus scans become entries in one common HDF file

  • Prototype solution to allow 'append’ mode for datasets by @willend in #2376

Various updates to instruments/components

  • Fix for rare crash of ILL_IN4 / MPI by @willend in #2287
  • NMO Comp/instr: Header fixes. Plus suppresion of mcdisplay. by @willend in #2288
  • Add 'full' template in McXtrace and align with McStas version by @willend in #2290
  • Union mcdisplay bugs by @Lomholy in #2294
  • Fix to MPI-mode use of Brilliance Transfer calculation. by @willend in #2300
  • Add McStas unittest for ALLOW_BACKPROP macro. by @willend in #2302
  • Update Unittest_ALLOW_BACKPROP with per-particle test by @willend in #2303
  • Make backprop thread safe in McStas by @willend in #2304
  • Minor instrument and comp updates, McStas by @willend in #2332
  • More %Example tests for McStas instruments by @willend in #2333
  • McStas Isotropic_Sqw: fix misplaced MPI_MASTER( … ); brackets by @willend in #2335
  • Increase McStas Test_SANS stat requirements in selected %Example lines by @willend in #2336
  • More additions of McStas %Example lines by @willend in #2337
  • Manual update of McXtrace Incoherent_process comp from EBK branch by @willend in #2338
  • Add more %Example lines to McStas instruments by @willend in #2341
  • Lift H22_D1B expectation value by @willend in #2342
  • Add Test instrument for Be-filter models by @willend in #2349
  • Disable nightly test of SNS_ARCS instr by @willend in #2350
  • Add ILL_H142 using ‘simple comps only' by @willend in #2354
  • Re-enable a few tests on the nightlies by @willend in #2364
  • Improve final detector stats by 1 order (SPLIT) in SNS_ARCS by @willend in #2370
  • ESS_butterfly: Wrap all printf / fprintf in MPI_MASTER( ); by @willend in #2372
  • Updated Rubredoxin lau file from @aaronfinke by @willend in #2384
  • Updated Example values following updated Rubredoxin.lau by @willend in #2386
  • Adapt Guide_m interface -> style of Guide_gravity parameters by @willend in #2389
  • McStas Monitor_nD “nexusbins” only in listmode by @willend in #2387
  • Adjust %Example line in templateNMX by @willend in #2397
  • Mono bent complex string parsing by @Lomholy in #2395

Tool improvements

  • Use better indentation/formatting in mctest json outputs by @willend in #2306
  • Prototype clang-format based code-formatting tool by @willend in #2314
  • Add cppcheck and clang-format to devel dependency list by @willend in #2322
  • Add hints for alternative mcdisplay visualisation in Jupyter... by @willend in #2353
  • Add timers for maximal compile / runtime in mctest by @willend in #2356
  • Add mctest logic to skip / not overwrite existing test data by @willend in #2358
  • mctest / timeout system - ensure to kill underlying processes by @willend in #2363
  • mctest: Use process group for more stable hung process cleanup by @willend in #2365
  • mctest: Even more elaborate process-control / termination logic by @willend in #2366
  • Tolerate & and # in mcdoc unit specifications by @willend in #2369
  • mcrun -L list was broken, fixed here by (re-)calculating number of elements … by @willend in #2377
  • Changed (hard-coded) mcgui 3D visualiser to be webgl-classic by @willend in #2381
  • On Windows use psutil for probing number of available cores in MPI by @willend in #2367

Fixes to various bugs (some for specific issues)

LaTeX in doc headers

  • Use JS LaTeX environments to render equations in headers by @willend in #2291
  • Update LaTeX formatting for waviness parameter by @willend in #2293

Clang-format formatting of component syntax

Project infrastructure

Various GPU related

New Contributors

Full Changelog: v3.6.5...v3.6.14