foolproofing broke something -> fixed

This commit is contained in:
David PAGNON 2024-02-09 12:18:57 +01:00 committed by GitHub
parent 02d2c5c56f
commit 449ce87fb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,9 +171,6 @@ def read_config_files(config):
temp_dict.get("project").update({"project_dir":os.path.join(config_dir, os.path.relpath(root))})
if not os.path.relpath(root) in [os.path.relpath(p) for p in temp_dict.get("project").get('exclude_from_batch')]:
config_dicts.append(temp_dict)
else:
raise FileNotFoundError('Please run Pose2Sim from a Session, Participant, or Trial directory.')
return level, config_dicts