diff --git a/binaryc/functions.py b/binaryc/functions.py index 207f7576e00b75b640334d5fbd92a663e8e6bee0..48428511f5f95b2b2dcc8727463b9c728fe9f7f7 100644 --- a/binaryc/functions.py +++ b/binaryc/functions.py @@ -4,7 +4,6 @@ import subprocess import socket # Functions for the automatic logging of stuff - def autogen_C_logging_code(logging_dict): # See example_perl.pm autologging """ @@ -194,7 +193,6 @@ def return_compilation_dict(): 'inc': inc } -# compilation_dict = return_compilation_dict('libcustomlogging') def compile_shared_lib(code, sourcefile_name, outfile_name): """ Function to write the custom logging code to a file and then compile it. @@ -224,21 +222,4 @@ def compile_shared_lib(code, sourcefile_name, outfile_name): shell=True) if res: - print('Output of compilation command:\n{}'.format(res)) - -# generate logging lines -logging_line = autogen_C_logging_code( - { - 'MY_STELLAR_DATA': ['model.time', 'star[0].mass'], - 'my_sss2': ['model.time', 'star[1].mass'] - } -) - -# Generate code around logging lines -created_code = binary_c_log_code(logging_line) - - -# print(created_code) -# quit() - -compile_shared_lib(created_code, sourcefile_name='custom_logging.c', outfile_name='lib_custom_logging.so') \ No newline at end of file + print('Output of compilation command:\n{}'.format(res)) \ No newline at end of file diff --git a/binaryc/lib_custom_logging.so b/binaryc/lib_custom_logging.so deleted file mode 100755 index b2c0fa24f9f8a708aa4a26ff82f63ae200029d10..0000000000000000000000000000000000000000 Binary files a/binaryc/lib_custom_logging.so and /dev/null differ