Skip to content

Commit

Permalink
remove excess prints
Browse files Browse the repository at this point in the history
  • Loading branch information
2320sharon committed Dec 14, 2023
1 parent 4208481 commit e4fa2f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/coastseg/coastseg_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def find_shorelines_directory(path, roi_id):
return None


def delete_extracted_shorelines_files(session_path:str, selected_items:List):
def delete_extracted_shorelines_files(session_path: str, selected_items: List):
"""Delete the extracted shorelines from the session directory for all the relevant files
Removes the extracted shorelines from the following files:
- extracted_shorelines_lines.geojson
Expand Down Expand Up @@ -384,7 +384,7 @@ def on_roi_change(
) -> None:
# remove the old layers
self.remove_extracted_shoreline_layers()
# # update the load_list and trash_list
# update the load_list and trash_list
extracted_shorelines = self.update_loadable_shorelines(selected_id)
self.extract_shorelines_container.trash_list = []
# load the new extracted shorelines onto the map
Expand Down Expand Up @@ -2279,9 +2279,7 @@ def get_roi_ids(

def update_roi_ids_with_shorelines(self):
# Get the list of the ROI IDs that have extracted shorelines
print("update_roi_ids_with_shorelines")
ids_with_extracted_shorelines = self.get_roi_ids(has_extracted_shorelines=True)
print(f"ids_with_extracted_shorelines: {ids_with_extracted_shorelines}")
# if no ROIs have extracted shorelines, return otherwise load extracted shorelines for the first ROI ID with extracted shorelines
if not ids_with_extracted_shorelines:
self.id_container.ids = []
Expand Down

0 comments on commit e4fa2f8

Please sign in to comment.