From 560d3ceae66778817d3aed50b6dfacbff67e9cf3 Mon Sep 17 00:00:00 2001
From: Constantin Pape <constantin.pape@iwr.uni-heidelberg.de>
Date: Tue, 11 Jun 2019 15:24:48 +0200
Subject: [PATCH] Fix bug in base attributes

---
 scripts/attributes/base_attributes.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/scripts/attributes/base_attributes.py b/scripts/attributes/base_attributes.py
index 61c3e82..11cda4b 100644
--- a/scripts/attributes/base_attributes.py
+++ b/scripts/attributes/base_attributes.py
@@ -1,6 +1,3 @@
-#! /g/kreshuk/pape/Work/software/conda/miniconda3/envs/cluster_env37/bin/python
-# TODO new platy-browser env
-
 import os
 import json
 import z5py
@@ -83,7 +80,7 @@ def to_csv(input_path, input_key, output_path, resolution):
     # reshuffle the attributes to fit the output colomns
 
     def translate_coordinate_tuple(coords):
-        coords = coords[::-1]
+        coords = coords[:, ::-1]
         for d in range(3):
             coords[:, d] *= res_in_micron[d]
         return coords
-- 
GitLab