-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
626 idea generate mc summary table #634
base: master
Are you sure you want to change the base?
Conversation
AI-Generated Summary: This pull request consists of two patches:
|
Reviewpad Report
|
logger = logging.getLogger(__name__) | ||
|
||
|
||
class MCSumWriter: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need a new writer for that functionality ?
Could it be part of inspect
command ?
Like:
convertmc inspect blabla.bdo --summary
or
convertmc inspect --many "*.bdo" --summary
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought of additional options for what format you would like to have. Also it may collide with inspect -d option, and may get more complex if also the scoring field will be filled out.
Other questions: we could hardcode also SH references, for convenience and make reference list at bottom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pymchelper
also can read Fluka binary files, so SH12A references would need to be saved in a smarter way.
36517bc
to
d2c8e1a
Compare
AI-Generated Summary: This pull request introduces new features to record total run times and primary events for all estimators, as well as a new output format as an MC-summary table. It updates the estimator.py, input_output.py, binary_spec.py, and reader_bdo2019.py files to store various run times and primary event counts. Additionally, it includes a new "mcsum" output format that displays the MC summary table in markdown format, following the example of Sechopoulos et al (2018). |
@nbassler can you add some tests similar to https://github.com/DataMedSci/pymchelper/blob/master/tests/test_hdf.py ? |
Resolved issues in the following files with DeepSource Autofix: 1. pymchelper/estimator.py 2. pymchelper/writers/mcsum.py
AI-Generated Summary: This pull request consists of 3 patches that make the following changes:
|
Proposal for MC summary, see discussion in #626
Comments?