DataMedSci / pymchelper

Python toolkit for SHIELD-HIT12A and FLUKA
http://datamedsci.github.io/pymchelper/
15 stars 7 forks source link

Add topas mock, resolves #638 #645

Closed hendzeld closed 1 year ago

reviewpad[bot] commented 1 year ago

Reviewpad Report

:warning: Warnings

reviewpad[bot] commented 1 year ago

AI-Generated Summary: This pull request introduces several changes related to the addition of a topas mock generator and testing. It adds a new section to the README.md file, explaining how to generate a topas mock and provides a command to run the generate_topas_mock.py script. This update also includes a new test file called test_topas_minimal.py with a test function, pytest fixtures, and utility functions. Additionally, it adds a mock generator script named generate_topas_mock.py to create a mock topas program, as well as a new file, minimal.txt, under the tests/res/mocks/topas_minimal directory with various simulation settings.

reviewpad[bot] commented 1 year ago

📈 Pull Request Metrics

💻 Coding Time: 21 hours 🛻 Pickup Time: 29 minutes 👀 Review Time: 2 days