diff options
author | Marius Peter <blendoit@gmail.com> | 2019-06-21 22:19:42 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-06-21 22:19:42 -0700 |
commit | 2fd8e6bcfae0e3418daf7e0c48cf10d42e5548a1 (patch) | |
tree | 0f9390bef4990e9bb33af910618ba5e7636be1ed /creator.py | |
parent | 05c69b59e56fec43205543cfe04188b8fd73aab1 (diff) |
various inconsistency fix
Diffstat (limited to 'creator.py')
-rw-r--r-- | creator.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |