Skip to content

Commit

Permalink
Fix the path of alea_run_toymc script (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx authored Sep 19, 2024
1 parent 0b7c580 commit ba824ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alea/submitters/htcondor.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def _generate_rc(self):
rc.add_replica(
"local",
"alea_run_toymc",
"file://{}".format(self.top_dir / "bin/alea_run_toymc"),
"file://{}".format(self.top_dir / "alea/scripts/alea_run_toymc.py"),
)
# Add combine executable
self.f_combine = File("combine.sh")
Expand Down
3 changes: 1 addition & 2 deletions alea/submitters/run_toymc_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,13 @@ echo "Untarring took $DIFF seconds."

# Source the environment
. /opt/XENONnT/setup.sh
chmod +x alea_run_toymc
echo "Before running the toy MC, the work directory contains:"
ls -lh
echo "These are the contents of templates/:"
ls -lh templates/

# Print the command
echo "Running command: python3 ./alea_run_toymc \\
echo "Running command: python3 ./alea_run_toymc.py \\
--statistical_model $STATISTICAL_MODEL \\
--poi $POI \\
--hypotheses $HYPOTHESES \\
Expand Down

0 comments on commit ba824ac

Please sign in to comment.