Skip to content

Commit

Permalink
add useful print statements for batch processing
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan committed Apr 11, 2024
1 parent 6941e71 commit 2f43876
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sleap_roots/trait_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ def compute_batch_traits(
"""
all_traits = []
for plant in plants:
print(f"Processing series: {plant.series_name}")
# Compute frame level traits for the plant.
plant_traits = self.compute_plant_traits(plant)

Expand All @@ -664,6 +665,7 @@ def compute_batch_traits(

if write_csv:
all_traits.to_csv(csv_path, index=False)
print(f"Batch traits saved to {csv_path}")
return all_traits

def compute_batch_multiple_dicots_traits(
Expand Down

0 comments on commit 2f43876

Please sign in to comment.