Skip to content

[BUG]: Windows / McStasScript / mcdisplay-webgl-classic does not run/provide visualisation output #2352

@willend

Description

@willend

Describe the bug
When using e.g. the Pylab button on mcgui to generate a McStasScript version of in instrument, the boilerplate notebook does not allow rendering the instrument on Windows. (This may actually be a McStasScript issue)

Document steps to reproduce the bug
Steps to reproduce the behavior:

  1. Open an instrument file
  2. Click on ‘Pylab'
  3. Execute the cells
  4. instr.show_instrument() returns The system cannot find the path specified.

Expected behavior
The instrument should be visualised

Screenshots
Image

OS and McStas/McXtrace version (please complete the following information):

  • OS: Windows (any)
  • McCode variant: McStas or McXtrace alike
  • Version: 3.x.y

Idea for patch:
May be as simple as a path correction and/or adding .bat suffix to the command McStasScript side

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions