From a447549f7864727897151a8e55f82bd22131265b Mon Sep 17 00:00:00 2001 From: Tobi Okedeji Date: Wed, 24 Apr 2024 13:48:57 +0100 Subject: [PATCH] fix data issues in key generate --- allocmd/utilities/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allocmd/utilities/utils.py b/allocmd/utilities/utils.py index 928524b..e861555 100644 --- a/allocmd/utilities/utils.py +++ b/allocmd/utilities/utils.py @@ -124,7 +124,7 @@ def run_key_generate_command(worker_name, type): command = ( f'docker run -it --entrypoint=bash -v "$(pwd)/{worker_name}/{type}/data":/data ' 'alloranetwork/allora-inference-base:latest ' - f'-c "mkdir -p /{type}/data/head/key /{type}/data/{type}/key && (cd /{type}/data/head/key && allora-keys) && (cd /{type}/data/{type}/key && allora-keys)"' + f'-c "mkdir -p /data/head/key /data/{type}/key && (cd /data/head/key && allora-keys) && (cd /data/{type}/key && allora-keys)"' ) try: subprocess.run(command, shell=True, check=True)