Skip to content

Commit

Permalink
Removed python-dependent code from general activities
Browse files Browse the repository at this point in the history
  • Loading branch information
jhennies committed Jul 30, 2024
1 parent c2a0cf2 commit 9c71833
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 10 additions & 7 deletions _includes/batch_processing/batch_measure_nuclei_shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
- Adapt this workflow for automated batch analysis of many images
- Start by building the skeleton of the workflow without filling in the functionality;

Note that the code below runs fine, but does not produce any results:
Note that the pseudo-code below will run fine, but does not produce any results:

```
def analyse(image_path, output_folder):
print("Analyzing:", image_path)
for image_path in image_paths:
analyse(image_path, output_dir)
FUNCTION analyse(image_path, output_folder)
PRINT "Analyzing:", image_path
END FUNCTION
FOR each image_path in image_paths
CALL analyse(image_path, output_dir)
END FOR
```

- Make sure the loop with the (almost) empty analyse function runs without error before filling in the image analysis steps
- Make sure the loop with the (almost) empty analyse function runs without error before filling in the image analysis steps
- Inspect the analysis results in a suitable software
2 changes: 2 additions & 0 deletions _modules/batch_processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ learn_next:

external_links:
- "[Batch processing in ImageJ](https://imagej.net/scripting/batch)"
- [MoBIE](https://github.com/mobie/mobie-viewer-fiji)
- [ImageDataExplorer](https://git.embl.de/heriche/image-data-explorer)
---

0 comments on commit 9c71833

Please sign in to comment.