From 3a2233da91b2fde8a0ccafe2f51a4bad9e682645 Mon Sep 17 00:00:00 2001 From: Sherry Date: Tue, 28 Dec 2021 15:55:08 -0500 Subject: [PATCH] chore: true_depth not cast to int --- moseq2_extract/helpers/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moseq2_extract/helpers/wrappers.py b/moseq2_extract/helpers/wrappers.py index f5f4bd8..8ec3ffc 100644 --- a/moseq2_extract/helpers/wrappers.py +++ b/moseq2_extract/helpers/wrappers.py @@ -397,7 +397,7 @@ def extract_wrapper(input_file, output_dir, config_data, num_frames=None, skip=F status_dict['complete'] = True if status_dict['parameters'].get('true_depth') is None: - status_dict['parameters']['true_depth'] = int(config_data.get('true_depth')) + status_dict['parameters']['true_depth'] = config_data.get('true_depth') with open(status_filename, 'w') as f: yaml.safe_dump(status_dict, f)