PaNOSC-ViNYL / McStasScript

McStas API for creating and running McStas instruments from python scripting
BSD 3-Clause "New" or "Revised" License
9 stars 11 forks source link

Allow McXtrace sessions to visualize using mxdisplay(-webgl/-pyqtgraph) #80

Closed willend closed 2 months ago

willend commented 4 months ago

I noticed that McXtrace-sessions did not allow instr-visualisation as the hard-coded mcdisplay command was used.

This patch includes a simple switch to use mxdisplay if we are running McXtrace.