Peter Willendrup

Results 159 issues of Peter Willendrup

It would be nice with these additions / improved features for mcrun / mxrun: * Honouring `CFLAGS` and `LDFLAGS` from surrounding environment * A commandline-switch for further CFLAGS, e.g. `--CFLAGS="enable...

It would be nice to define a template to more naturally ensure we get the bits and pieces of information often lacking in the first bug-reporting, see https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository

``` mcgui ESS_BEER_MCPL.instr /Users/peterwillendrup/mambaforge/envs/tester/share/mcstas/tools/Python/mcgui/mcgui.py:191: SyntaxWarning: invalid escape sequence '\s' raise Exception("checkInstrFileCandidate: \s in instr") /Users/peterwillendrup/mambaforge/envs/tester/share/mcstas/tools/Python/mcgui/mcgui.py:631: SyntaxWarning: invalid escape sequence '\w' pat = 'COMPONENT[ ]+([\w0-9]+)[ ]*=' loading system configuration /Users/peterwillendrup/mambaforge/envs/tester/share/mcstas/tools/Python/mcgui/../mccodelib/utils.py:73: SyntaxWarning:...

On some systems (e.g. Jupyter/vnc-desktop instances on e-learning.pan-training.eu) the gui takes up a lot of real-estate. Find a way to allow resize via font scaling.

Thanks to @Lomholy I have become aware of an issue in read-table_lib: If an input file contains multiple data blocks, e.g.: ``` # Cu 111 2.087063 0.23391E+00 7.485 2.094 0.55...

mcxtrace-3.2
mcstas-3.4

More elaborate example to be provided later, but e.g. this doesn't run: ``` COMPONENT focusing_section = Elliptic_guide_gravity( l=20.7751, majorAxisxw=42.710242/2, minorAxisxw=0.060/2, majorAxisyh=42.560317/2, minorAxisyh=0.1/2, majorAxisoffsetxw=0, majorAxisoffsetyh=0, R0=R0, Qc=Qc, alpha=alpha, W=W, mvaluesleft=m_focus_lr, mvaluesright=m_focus_lr,...

mcstas-3.4

It seems that dependencies er nicely resolved in modern day conda, so we might as well ship cadquery and OCP on mac and Windows: ![Screenshot 2023-10-26 at 15 05 28](https://github.com/McStasMcXtrace/McCode/assets/8593355/7ce582bf-ef1a-4a09-92e4-c2f6297a42f4)...

mcstas-3.4

TOFRes_sample should use component-injected `USERVARS` as in `Res_sample`, see e.g. https://github.com/McStasMcXtrace/McCode/commit/0561e40d3cde6098cb32f659d990d8a713860582 Issue reported by Ryoichi Kajimoto via `mcstas-users` (https://mailman2.mcstas.org/pipermail/mcstas-users/2023q4/001508.html) and quoted below. Also, a test/unit-test instrument should be defined for...

ready for release
mcstas-3.4