Commit 8f6b944a authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[databases] Fixed local indexing

parent fb6f827c
......@@ -98,7 +98,7 @@ logger = logging.getLogger(__name__)
import simplejson
from beat.core.hash import hash, toPath, hashFileContents
from beat.core.hash import hash, toPath, hashFileContents, hashDataset
from beat.core.utils import NumpyJSONEncoder
from beat.core.database import Database
from beat.core.dataformat import DataFormat
......@@ -368,6 +368,14 @@ def index_outputs(configuration, names, uid=None, db_root=None, docker=False):
if view is None:
retcode += 1
dataset_hash = hashDataset(db_name, protocol_name, set_name)
toPath(dataset_hash, '.db')))
# TODO: Remove when docker version is fixed:
(databases_container, db_socket, zmq_context, input_list) = \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment