Skip to content

Commit

Permalink
chore: true_depth not cast to int
Browse files Browse the repository at this point in the history
  • Loading branch information
versey-sherry committed Dec 28, 2021
1 parent 1cbf97c commit 3a2233d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moseq2_extract/helpers/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3a2233d

Please sign in to comment.