From 3a2d3f4012c3d86de8e63abd2d320710016d0336 Mon Sep 17 00:00:00 2001 From: Michel Ferrero Date: Mon, 16 Dec 2013 14:33:19 +0100 Subject: [PATCH] Fix tail in update_archive --- doc/scripts/update_archive.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/scripts/update_archive.py b/doc/scripts/update_archive.py index b613fa7f..f738c328 100644 --- a/doc/scripts/update_archive.py +++ b/doc/scripts/update_archive.py @@ -42,7 +42,7 @@ def sanitize_imfreq(origin, dest): dest["indices"].create_dataset(name="right", data=indR) dest.create_group(name="singularity") - dest["singularity"].create_dataset(name="data", data=origin["Tail"]["array"].value.transpose((2,0,1,3))) + dest["singularity"].create_dataset(name="data", data=origin["Tail"]["array"].value) dest["singularity"]["data"].attrs.create('__complex__', "1") dest["singularity"].create_dataset(name="omin", data=origin["Tail"]["OrderMinMIN"].value) mask = numpy.zeros( dest["singularity"]["data"].shape[0:2], numpy.integer ) @@ -77,7 +77,7 @@ def sanitize_imtime(origin, dest): dest["indices"].create_dataset(name="right", data=indR) dest.create_group(name="singularity") - dest["singularity"].create_dataset(name="data", data=origin["Tail"]["array"].value.transpose((2,0,1,3))) + dest["singularity"].create_dataset(name="data", data=origin["Tail"]["array"].value) dest["singularity"]["data"].attrs.create('__complex__', "1") dest["singularity"].create_dataset(name="omin", data=origin["Tail"]["OrderMinMIN"].value) mask = numpy.zeros( dest["singularity"]["data"].shape[0:2], numpy.integer ) @@ -139,7 +139,7 @@ def sanitize_refreq(origin, dest): dest["indices"].create_dataset(name="right", data=indR) dest.create_group(name="singularity") - dest["singularity"].create_dataset(name="data", data=origin["Tail"]["array"].value.transpose((2,0,1,3))) + dest["singularity"].create_dataset(name="data", data=origin["Tail"]["array"].value) dest["singularity"]["data"].attrs.create('__complex__', "1") dest["singularity"].create_dataset(name="omin", data=origin["Tail"]["OrderMinMIN"].value) mask = numpy.zeros( dest["singularity"]["data"].shape[0:2], numpy.integer )