Free Motion Capture for Everyone πβ¨
TypeScript
Update fmc_runme.py
Aaron Cherianf319b50e9299
diff --git a/freemocap/fmc_runme.py b/freemocap/fmc_runme.pyindex c5e74534..ffb437c6 100644--- a/freemocap/fmc_runme.py+++ b/freemocap/fmc_runme.py@@ -80,8 +80,12 @@ def Run(sessionID=None,stage=1,useOpenPose=True,useMediaPipe=False,useDLC=True,dbasePath = runmeGUI.RunChooseDataPathGUI(session)#sesh.dataFolderPath = Path(basePath)/sesh.dataFolderNameelse:- current_path_to_data = preferences['saved']['path_to_save']- basePath = current_path_to_data+ try:+ current_path_to_data = preferences['saved']['path_to_save']+ basePath = current_path_to_data+ except KeyError('Saved Data path not found, please choose a new one'):+ basePath = runmeGUI.RunChooseDataPathGUI(session)+dataFolder = Path(basePath)/sesh.dataFolderNamesesh.dataFolderPath = dataFolder