We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35b5c60 commit 65b65c3Copy full SHA for 65b65c3
element_moseq/moseq_train.py
@@ -398,9 +398,15 @@ def make_compute(
398
PCATask.update1(
399
{**key, "kpms_project_output_dir": kpms_project_output_dir}
400
)
401
- kpms_project_output_dir = (
402
- Path(get_kpms_processed_data_dir()) / kpms_project_output_dir
403
- )
+
+ try:
+ kpms_project_output_dir = find_full_path(
404
+ get_kpms_processed_data_dir(), kpms_project_output_dir
405
+ )
406
+ except FileNotFoundError:
407
+ kpms_project_output_dir = (
408
+ Path(get_kpms_processed_data_dir()) / kpms_project_output_dir
409
410
411
# Resolve kpset_dir to absolute and check if it exists
412
kpset_dir = find_full_path(get_kpms_root_data_dir(), kpset_dir)
0 commit comments