about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorhanemile <emile.hansmaennel@gmail.com>2017-12-09 16:01:33 +0100
committerhanemile <emile.hansmaennel@gmail.com>2017-12-09 16:01:33 +0100
commit23aa8723bc8c6ba0e96bc7cbac88075591116110 (patch)
tree89a48da3098a836c8fb4f3dc536c03810ede490e /src
parent8902a3a319193077009e80f8243ba180876c272c (diff)
added command line argument for specifying the location where the star coordinates should be saved
Diffstat (limited to 'src')
-rwxr-xr-xsrc/coord.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coord.py b/src/coord.py
index b5d9f49..4094b25 100755
--- a/src/coord.py
+++ b/src/coord.py
@@ -14,7 +14,7 @@ arr_saved_stars = np.zeros((int(nos), 3))
 
 # define various paths
 path = "data/rho6.csv"
-save_path = "stars/star19.csv"
+save_path = "stars/" + sys.argv[2]
 # star13 -> 586 stars
 
 # define the random-value range [rho_min; rho_max]