Commit 8b3148ef authored by payno's avatar payno
Browse files

fix typo

parent 3ca7c263
......@@ -446,7 +446,7 @@ def _insert_frame_data(data, file_path, data_path, where, logger=None):
"{} should point to 2D or 3D dataset ".format(url.path())
)
if data_frm_url.ndim is 2:
new_shape = 1, data_frm_url[0], data_frm_url[1]
new_shape = 1, data_frm_url.shape[0], data_frm_url.shape[1]
if logger is not None:
logger.info(
"reshape provided data to 3D (from {} to {})"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment