summaryrefslogtreecommitdiff
path: root/creator.py
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-21 22:19:42 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-21 22:19:42 -0700
commit2fd8e6bcfae0e3418daf7e0c48cf10d42e5548a1 (patch)
tree0f9390bef4990e9bb33af910618ba5e7636be1ed /creator.py
parent05c69b59e56fec43205543cfe04188b8fd73aab1 (diff)
various inconsistency fix
Diffstat (limited to 'creator.py')
-rw-r--r--creator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/creator.py b/creator.py
index 366909b..1e375a6 100644
--- a/creator.py
+++ b/creator.py
@@ -91,13 +91,13 @@ class Coordinates:
print('z_l the lower z-coordinates:\n', np.around(self.z_l, round))
return None
- def info_save(self, save_dir_path, number):
+ def info_save(self, save_path, number):
'''
Save all the object's coordinates (must be full path).
'''
file_name = '{}_{}.txt'.format(str(self).lower(), number)
- full_path = os.path.join(save_dir_path, file_name)
+ full_path = os.path.join(save_path, file_name)
try:
with open(full_path, 'w') as sys.stdout:
self.info_print(6)
Copyright 2019--2024 Marius PETER