Mono bent complex update of header, and extension of string parsing system#2348
Mono bent complex update of header, and extension of string parsing system#2348
Conversation
…als repetitions of it
|
@Lomholy mcdoc is not tolerant to all character sets. For best possible mileage you should use W3 / html specification of e.g. Greek characters such as I’ve fixed it for you this time round - but this is one of the reasons that I insist on adding screenshots of mcdoc pages in the PR template… :-) (Hint to actually look at that mcdoc page…) Also, I think the PR descriptive text above is mostly meaningful to yourself… Is this one otherwise ready in your own view? |
Hi @willend, Thank you for the help. I was wondering how I should write greek characters, and other non-standard characters. This has illustrated your point with screenshots quite clearly - Will make sure to include them from now on :-).
The text on the PR has been updated - is it clearer now? I am still practicing the discipling of making clear PR texts ;)
Yes, with this one caveat... |
OK, I see. Then there are two options for the road ahead:
Either way I want to avoid merging code with known (but not documented) issues. :) |
|
Alright, then lets let it hang. I believe that I will have time within a month or so |
|
You might consider periodically updating the PR branch against main if time allows? |
|
Will do! |


Free-form text area
Please describe what your PR is adding in terms of features or bugfixes:
Monochromator_bent_complex is updated regarding the changes to the parameter "plane_of_reflections". This is reflected in updates to the header as well. Other minor beauty changes are performed in the header.
The plane_of_reflection parameter could previously only be a string of planes, delimited by a semicolon between each plane. With this update, the option of having a single plane of reflection for all crystals is added. E.g. a three crystal definition of "Si111;Si111;Si111" can now be defined by "Si111".
Development OS / boundary conditions
Please describe what OS you developed and tested your additions on, and if any special dependencies are required:
MacOS Tahoe 26.2
PR Checklist for contributing to McStas/McXtrace
For a coherent and useful contribution to McStas/McXtrace, please fill in relevant parts of the checklist:
My contribution includes patches to an existing component file
mcdocutility and rendered a reasonable documentation page for the component (please attach as screenshot in comments!)mctestutility to test one or more instruments making use of the component (please attachmcviewtestreport as screenshot in comments)mccode-clangformattool to apply the standard McCode component indentation schememcrun --c-lint"linter" and followed advice to remove most / all warnings that are raisedMy contribution includes patches to an existing instrument file
mcdocutility and rendered a reasonable documentation page for the instrument (please attach as screenshot in comments!)mctestutility to test the instrument (please attachmcviewtestreport as screenshot in comments)mcrun --c-lint"linter" and followed advice to remove most / all warnings that are raised