nettracer3d 1.3.1__py3-none-any.whl → 1.3.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nettracer3d might be problematic. Click here for more details.

@@ -442,6 +442,17 @@ def combine_lists_to_sublists(master_list):
442
442
 
443
443
  return combined_list
444
444
 
445
+ def combine_lists_to_sublists_no_edges(master_list):
446
+
447
+
448
+ list1 = master_list[0]
449
+ list2 = master_list[1]
450
+
451
+ # Combine the lists into one list of sublists
452
+ combined_list = [list(sublist) for sublist in zip(list1, list2)]
453
+
454
+ return combined_list
455
+
445
456
 
446
457
  def find_centroids(nodes, down_factor = None, network = None):
447
458
 
@@ -867,11 +878,7 @@ def buckets(dists, num_objects, rad_dist, directory = None):
867
878
 
868
879
  try:
869
880
 
870
- if directory is None:
871
- # Save the DataFrame to an Excel file
872
- df.to_excel('radial_distribution.xlsx', index=False)
873
- print("Radial distribution saved to radial_distribution.xlsx")
874
- else:
881
+ if directory is not None:
875
882
  df.to_excel(f'{directory}/radial_distribution.xlsx', index=False)
876
883
  print(f"Radial distribution saved to {directory}/radial_distribution.xlsx")
877
884
  except: