Skip to content

Commit

Permalink
ensuring dims is always a tuple #636
Browse files Browse the repository at this point in the history
  • Loading branch information
epnev committed Aug 27, 2019
1 parent 59a88cb commit d27855c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caiman/source_extraction/cnmf/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ def get_file_size(file_name, var_name_hdf5='mov'):

else:
raise Exception('Unknown file type')
dims = tuple(dims)
else:
raise Exception('File not found!')
elif isinstance(file_name, list):
Expand Down

0 comments on commit d27855c

Please sign in to comment.