Skip to content

Conversation

@willend
Copy link
Contributor

@willend willend commented Dec 18, 2025

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:

@g5t with this minor set of changes to mcrun.py / mccode.py, the mcrun and mcdisplay tools can produce simulations or visualisation can proceed without requiring access to underlying .c or .instr file.

To use, simply give the path of wanted binary instead of the .instr file, i.e.:
mcdisplay-cad BNL_H8.out -y -n1


  • My contribution contains something else

    • Explanation is added in free form text above or below the checklist

@willend willend changed the title Allow mcrun / mcdisplay to run / visualize without access to .c/.instr Work in progress: Allow mcrun / mcdisplay to run / visualize without access to .c/.instr Dec 18, 2025
@willend
Copy link
Contributor Author

willend commented Dec 18, 2025

😅 OK, too half-baked, clearly, will pick up again later

@willend willend closed this Dec 18, 2025
@willend willend reopened this Dec 18, 2025
@willend willend closed this Dec 18, 2025
@willend willend reopened this Dec 18, 2025
@willend willend changed the title Work in progress: Allow mcrun / mcdisplay to run / visualize without access to .c/.instr Allow mcrun / mcdisplay to run / visualize without access to .c/.instr Dec 18, 2025
@willend
Copy link
Contributor Author

willend commented Dec 19, 2025

Since everything finally checks out (including a test-suite run I am merging this.

@willend willend merged commit ba683bc into mccode-dev:main Dec 19, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant