Skip to content

Commit

Permalink
chore: 🙈 Make path_to_worker in dummy_script obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar committed Apr 18, 2024
1 parent 0f7a007 commit 75369bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/blockwise/dummy_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
from funlib.geometry import Roi

# Make the ROIs
path_to_worker = "dummy_worker.py"
total_roi = Roi(offset=(0, 0, 0), shape=(100, 100, 100))
read_roi = Roi(offset=(0, 0, 0), shape=(10, 10, 10))
write_roi = Roi(offset=(0, 0, 0), shape=(1, 1, 1))

# Run the script blockwise
success = run_blockwise(
worker_file="dummy_worker.py",
worker_file=path_to_worker,
total_roi=total_roi,
read_roi=read_roi,
write_roi=write_roi,
Expand Down

0 comments on commit 75369bd

Please sign in to comment.