fix indents from ipynb to py

This commit is contained in:
Alexander Bocken 2023-06-26 10:27:53 +02:00
parent 15efd64c3e
commit 74d59ecc2e
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

4
main.py Normal file → Executable file
View File

@ -270,7 +270,7 @@ plt.show()
# |%%--%%| <mgJWQ0bqG1|64kmoHYvCD> # |%%--%%| <mgJWQ0bqG1|64kmoHYvCD>
# Connectivity measure # Connectivity measure
def check_food_source_connectivity(food_sources, paths): #food_sources = nodes.is_nest, paths=result from BFS def check_food_source_connectivity(food_sources, paths): #food_sources = nodes.is_nest, paths=result from BFS
connected_food_sources = set() connected_food_sources = set()
for source in food_sources: for source in food_sources:
@ -305,5 +305,3 @@ plt.show()
# |%%--%%| <r0xVXEqlAh|6K80EwwmVN> # |%%--%%| <r0xVXEqlAh|6K80EwwmVN>