Skip to content

Commit

Permalink
fixes issue #147
Browse files Browse the repository at this point in the history
tested running with `moseq2-extract convert-raw-to-avi`
  • Loading branch information
wingillis committed Jan 15, 2022
1 parent 7745e0d commit 077092b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moseq2_extract/io/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_raw_info(filename, bit_depth=16, frame_size=(512, 424)):
return file_info


def read_frames_raw(filename, frames=None, frame_size=(512, 424), bit_depth=16, movie_dtype="<i2", **kwargs):
def read_frames_raw(filename, frames=None, frame_size=(512, 424), bit_depth=16, movie_dtype="<u2", **kwargs):
'''
Reads in data from raw binary file.
Expand Down

0 comments on commit 077092b

Please sign in to comment.