Skip to content

Commit fa9e040

Browse files
committed
Add methods for selecting good peaks & chessboard edge detection
1 parent d62478e commit fa9e040

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+779
-567
lines changed

discorpy/losa/loadersaver.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -809,16 +809,12 @@ def save_metadata_json(file_path, xcenter, ycenter, list_fact, overwrite=True):
809809
str
810810
Updated file path.
811811
"""
812-
# Get resolved file path and set to JSON suffix
813812
file_path = __get_path(file_path, check_exist=False).resolve()
814813
if file_path.suffix.lower() != '.json':
815814
file_path = file_path.with_suffix('.json')
816815
_create_folder(str(file_path))
817-
818816
if not overwrite:
819817
file_path = _create_file_name(str(file_path))
820-
821-
# Create metadata dictionary
822818
metadata = {
823819
'xcenter': float(xcenter),
824820
'ycenter': float(ycenter),

0 commit comments

Comments
 (0)