Skip to content
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

Move submission_script.py also from binference to here #10

Merged
merged 1 commit into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions alea/scripts/submission_script.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import sys
import alea.submission

if __name__ == "__main__":
alea.submission.submit_jobs(sys.argv[1:])
2 changes: 1 addition & 1 deletion alea/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def flatten_function_args(combination, function_args):
raise Exception(
"You are overwriting function_args without knowing what is going on!"
)
elif key == "signal_rate_multiplier" and combination["signal_expectation"] is not None:
elif key == "signal_rate_multiplier" and combination.get("signal_expectation", None) is not None:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue
else:
function_args[key] = value
Expand Down