From d9e771aa0777d1aee8bb08b27628f68c4a24793f Mon Sep 17 00:00:00 2001 From: bowman Date: Tue, 12 Sep 2023 02:40:08 +0800 Subject: [PATCH] fix missing movement folder for simulation --- reverie/backend_server/reverie.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reverie/backend_server/reverie.py b/reverie/backend_server/reverie.py index 2d753d1029..fdefeb849f 100644 --- a/reverie/backend_server/reverie.py +++ b/reverie/backend_server/reverie.py @@ -57,6 +57,10 @@ def __init__(self, sim_folder = f"{fs_storage}/{self.sim_code}" copyanything(fork_folder, sim_folder) + # fix the missing 'movement' folder bug + movement_folder = f"{sim_folder}/movement" + create_folder_if_not_there(movement_folder) + with open(f"{sim_folder}/reverie/meta.json") as json_file: reverie_meta = json.load(json_file)