Skip to content

Commit 1d515ce

Browse files
authored
Fix 3d error (CAVEconnectome#431)
* fail_to_zero=True for get_roots spatial sv lookup * removing hardcoding of credentials location * adding DS_Store to gitignore
1 parent 7fcf696 commit 1d515ce

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@ venv.bak/
118118
.devcontainer/
119119
*.ipynb
120120
*.rdb
121-
/protobuf*
121+
/protobuf*
122+
.DS_Store

pychunkedgraph/graph/utils/id_helpers.py

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def get_atomic_ids_from_coords(
161161
local_sv_ids,
162162
time_stamp=parent_ts,
163163
stop_layer=parent_id_layer,
164+
fail_to_zero=True
164165
)
165166

166167
local_parent_seg = fastremap.remap(

pychunkedgraph/logging/flask_log_db.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
HOME = os.path.expanduser('~')
66

77
# Setting environment wide credential path
8-
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = \
9-
HOME + "/.cloudvolume/secrets/google-secret.json"
8+
#os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = \
9+
# HOME + "/.cloudvolume/secrets/google-secret.json"
1010

1111

1212
class FlaskLogDatabase(object):

0 commit comments

Comments
 (0)