summaryrefslogtreecommitdiff
path: root/creator.py
diff options
context:
space:
mode:
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