Skip to content

Commit

Permalink
Merge branch 'dev/main' of github.com:janelia-cellmap/dacapo into dev…
Browse files Browse the repository at this point in the history
…/main
  • Loading branch information
rhoadesScholar committed Mar 19, 2024
2 parents e40f0a3 + aa4ebac commit a6fe361
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dacapo/examples/synthetic_source_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def cli(log_level):

fit = "valid"


def generate_synthetic_dataset(
output_container: Path | str,
raw_output_dataset: str = "raw",
Expand Down
4 changes: 3 additions & 1 deletion dacapo/examples/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import copy
import json


def get_viewer(
raw_array: gp.Array | Array | ZarrArray,
labels_array: gp.Array | Array | ZarrArray,
Expand Down Expand Up @@ -213,7 +214,8 @@ def update_with_new_validation_if_possible(self):
self.most_recent_iteration,
validation_dataset.name,
)



def add_seg_layer(state, name, data, voxel_size):
state.layers[name] = neuroglancer.SegmentationLayer(
# segments=[str(i) for i in np.unique(data[data > 0])], # this line will cause all objects to be selected and thus all meshes to be generated...will be slow if lots of high res meshes
Expand Down

0 comments on commit a6fe361

Please sign in to comment.