Skip to content

Commit

Permalink
production code for sample 3 big mergers splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
xiuliren committed Aug 31, 2023
1 parent 9b47ad7 commit 4b1b6cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion chunkflow/chunk/image/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def _hist_to_lookup_table(self,
lookup_table = lookup_table.astype( np.uint8 )
return lookup_table


def normalize_contrast(self,
lower_clip_fraction: float = 0.01,
upper_clip_fraction: float = 0.01,
Expand Down
4 changes: 4 additions & 0 deletions chunkflow/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ def bounding_box(self):
bbox = bbox.inverse_order()
return bbox

@cached_property
def bbox(self):
return self.bounding_box

@cached_property
def start(self) -> Cartesian:
return self.bounding_box.start
Expand Down
2 changes: 1 addition & 1 deletion distributed/restapi/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

app = FastAPI()

maxid = 86002891
maxid = 115015938

@app.get("/objids/{id_num}")
def get_base_id(id_num: int):
Expand Down

0 comments on commit 4b1b6cc

Please sign in to comment.