diff --git a/scripts/attributes/base_attributes.py b/scripts/attributes/base_attributes.py index 61c3e827d2ea90a2f4f95e2cb199c95e139e895e..11cda4bbda6c774c418f784a17f79a34048f8e27 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