diff --git a/.gitignore b/.gitignore index 180e51dcc3fd7c05b9039988dbcd04b74d7117fc..ba751ec1da71b56e78033bcddab6b6c494c37800 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ output/* *.swp .python-version +__pycache__/ .ipynb_checkpoints/ diff --git a/.ipynb_checkpoints/python_API_test-checkpoint.py b/.ipynb_checkpoints/python_API_test-checkpoint.py deleted file mode 100755 index 8fe7e62dc27afaa85848fc33f18b174681dfed15..0000000000000000000000000000000000000000 --- a/.ipynb_checkpoints/python_API_test-checkpoint.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/python3 - -import binary_c_python_api - -############################################################ -# Test script to run a binary using the binary_c Python -# module. -############################################################ - - -def run_test_binary(): - m1 = 15.0 # Msun - m2 = 14.0 # Msun - separation = 0 # 0 = ignored, use period - orbital_period = 4530.0 # days - eccentricity = 0.0 - metallicity = 0.02 - max_evolution_time = 15000 - buffer = "" - argstring = "binary_c M_1 {0:g} M_2 {1:g} separation {2:g} orbital_period {3:g} eccentricity {4:g} metallicity {5:g} max_evolution_time {6:g} ".format( - m1, - m2, - separation, - orbital_period, - eccentricity, - metallicity, - max_evolution_time, - ) - - output = binary_c_python_api.run_binary(argstring) - - print("\n\nBinary_c output:\n\n") - print(output) - - -# binary_star = binary_c_python_api.new_system() - -# print(binary_star) -run_test_binary() \ No newline at end of file diff --git a/__pycache__/defaults.cpython-36.pyc b/__pycache__/defaults.cpython-36.pyc deleted file mode 100644 index 16d2a1e2a2eebed842457dfebe2c60d92cc79c8d..0000000000000000000000000000000000000000 Binary files a/__pycache__/defaults.cpython-36.pyc and /dev/null differ