From 006dce7d8ad3c64afea17ca65253d21d1ddcc309 Mon Sep 17 00:00:00 2001 From: Alankar Alankar Date: Wed, 8 Sep 2010 11:55:57 +0000 Subject: [PATCH] printing euler angles (and defgrads and orientations) for individual ips now works --- processing/post/postResults | 2 ++ 1 file changed, 2 insertions(+) diff --git a/processing/post/postResults b/processing/post/postResults index 4318ce77c..47fa0574f 100755 --- a/processing/post/postResults +++ b/processing/post/postResults @@ -723,6 +723,8 @@ for increment in increments: condensedGroupContent = mapFunc(label, groupContent, 'avg') # always average location if len(groupContent) > 1: # e,n,g nonsense if averaged over more than one entry... condensedGroupContent[:3] = ['n/a']*3 # ...so return 'n/a' + elif len(groupContent) == 1: + condensedGroupContent = map(str,groupContent[0]) else: condensedGroupContent = mapFunc(label, groupContent, options.func) # map function to groupContent to get condensed data of this group's chunk output[-1] += condensedGroupContent