From dafad2d8c8da974452081bca7a85b389cae14f2a Mon Sep 17 00:00:00 2001
From: Robert Izzard <r.izzard@surrey.ac.uk>
Date: Tue, 9 Nov 2021 11:29:02 +0000
Subject: [PATCH] add command line to grid_options

---
 binarycpython/utils/grid_options_defaults.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/binarycpython/utils/grid_options_defaults.py b/binarycpython/utils/grid_options_defaults.py
index aa4be941d..7435fde92 100644
--- a/binarycpython/utils/grid_options_defaults.py
+++ b/binarycpython/utils/grid_options_defaults.py
@@ -14,6 +14,7 @@ All the options starting with _ should not be changed by the user except when yo
 """
 
 import os
+import sys
 
 from binarycpython.utils.custom_logging_functions import temp_dir
 from binarycpython.utils.functions import return_binary_c_version_info
@@ -49,6 +50,7 @@ grid_options_defaults_dict = {
     "do_dry_run": True,  # Whether to do a dry run to calculate the total probability for this run
     "custom_generator": None,  # Place for the custom system generator
     "exit_after_dry_run": False,  # Exit after dry run?
+    "command_line": ' '.join(sys.argv),
     ##########################
     # Execution log:
     ##########################
-- 
GitLab