@@ -1102,22 +1102,17 @@ def load_GEFF(
11021102 ValueError
11031103 If the GEFF graph is undirected, as pycellin does not support undirected graphs.
11041104 """
1105-
11061105 # Read the GEFF file.
11071106 geff_graph , geff_md = geff .read (geff_file , structure_validation = structure_validation )
11081107 if not geff_md .directed :
11091108 raise ValueError (
11101109 "The GEFF graph is undirected: pycellin does not support undirected graphs."
11111110 )
1112- # print(geff_md)
1113- geff_node_md = geff_md .node_props_metadata
1114- geff_edge_md = geff_md .edge_props_metadata
11151111
11161112 # Identify specific properties.
11171113 lineage_id_prop = _identify_lin_id_prop (
11181114 lineage_id_prop , geff_md .track_node_props , geff_graph
11191115 )
1120- # print(f"LINEAGE ID PROP: {lineage_id_prop}")
11211116 time_prop = _identify_time_prop (time_prop , geff_md , geff_graph )
11221117 cell_x_prop , cell_y_prop , cell_z_prop = _identify_space_props (
11231118 cell_x_prop , cell_y_prop , cell_z_prop , geff_md , geff_graph
@@ -1165,29 +1160,13 @@ def load_GEFF(
11651160 )
11661161 check_fusions (model ) # pycellin DOES NOT support fusion events
11671162
1168- print ("GEFF NODE PROPS" )
1169- for prop in geff_node_md :
1170- print (f"\t { prop } " )
1171-
1172- print ("NODE PROPS" )
1173- for prop in model .get_node_properties ():
1174- print (f"\t { prop } " )
1175-
1176- # print("GEFF EDGE PROPS")
1177- # for prop in geff_edge_md:
1178- # print(f"\t{prop}")
1179-
1180- # print("EDGE PROPS")
1181- # for prop in model.get_edge_properties():
1182- # print(f"\t{prop}")
1183-
11841163 return model
11851164
11861165
11871166if __name__ == "__main__" :
11881167 geff_file = "/media/lxenard/data/Janelia_Cell_Trackathon/test_pycellin_geff/pycellin_to_geff.geff"
11891168 # geff_file = "B:/Janelia_Cell_Trackathon/anniek_example/exampl_geff.zarr/tracks"
1190- geff_file = "/media/lxenard/data/Janelia_Cell_Trackathon/anniek_example/exampl_geff.zarr/tracks"
1169+ # geff_file = "/media/lxenard/data/Janelia_Cell_Trackathon/anniek_example/exampl_geff.zarr/tracks"
11911170 # geff_file = "E:/Janelia_Cell_Trackathon/reader_test_graph.geff"
11921171 # geff_file = "/media/lxenard/data/Janelia_Cell_Trackathon/mouse-20250719.zarr/tracks"
11931172 # geff_file = "/media/lxenard/data/Janelia_Cell_Trackathon/test_pycellin_geff/test.zarr"
0 commit comments