DataMedSci / pymchelper

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

add Mock executable `rfluka` #637

Closed grzanka closed 1 year ago

grzanka commented 1 year ago

Add binary mock file called rfluka which should be commited to this repository.

reviewpad[bot] commented 1 year ago

AI-Generated Summary: This issue involves adding a binary mock file named rfluka to the repository. The task includes generating two example binary output files with specific sizes and encoding them in text format. The binary encoded text should be added as internal variables in the rfluka bash script. The script should then ignore input parameters and save the two binary files to the disc, mimicking the behavior of the original rfluka.

reviewpad[bot] commented 1 year ago

AI-Generated Summary: This issue involves adding a binary mock file called rfluka to the repository. The following steps need to be completed:

  1. Generate two small example binary output files (20 and 4x4 bins).
  2. Encode these files as text (e.g., using base64).
  3. Add the encoded text as internal variables in the rfluka bash script.
  4. Update the bash script to ignore input parameters and save two binary files to disk upon execution, as the real rfluka would do.
reviewpad[bot] commented 1 year ago

AI-Generated Summary: This issue suggests adding a binary mock file called rfluka to the repository. The proposed steps include generating two example binary output files with specific sizes, encoding them in text format (possibly base64), embedding the encoded text as internal variables in the rfluka bash script, and making the script save the two binary files to disk upon execution without considering input parameters.

reviewpad[bot] commented 1 year ago

AI-Generated Summary: This issue requests the addition of a binary mock file called rfluka. The task involves generating two example binary output files with specific dimensions, encoding them in text format (such as base64), and incorporating them as internal variables in the rfluka bash script. The bash script should ignore input parameters and instead save the binary files to disk, emulating the behavior of the real rfluka program.