Hello,
I am trying to run TVB from the python code and am working through the examples in the Jupyter notebooks. I am running into an error in the "interacting with the framework" notebook. In the third line of code, when I try to create a new project with the code line 'proj = new_project("sandbox")' I am getting this error:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[3], line 1
----> 1 proj = new_project("sandbox")
File ~\OneDrive\Desktop\TVB_Distribution\tvb_data\Lib\site-packages\tvb\interfaces\command\lab.py:87, in new_project(name)
85 def new_project(name):
86 usr = UserService.get_administrators()[0]
---> 87 proj = ProjectService().store_project(usr, True, None, name=name, description=name, users=[usr])
88 return proj
File ~\OneDrive\Desktop\TVB_Distribution\tvb_data\Lib\site-packages\tvb\core\services\project_service.py:108, in ProjectService.store_project(self, current_user, is_create, selected_id, **data)
106 raise ProjectServiceException("A project can not be renamed while operations are still running!")
107 if is_create:
--> 108 current_proj = Project(new_name, current_user.id, data["max_operation_size"], data["description"],
109 data["disable_imports"])
110 self.storage_interface.get_project_folder(current_proj.name)
111 else:
KeyError: 'max_operation_size'
Any help or guidance would be appreciated! If you have any questions, let me know.
Best,
Dominique Hughes