Skip to content
Snippets Groups Projects
Commit 560d3cea authored by Constantin Pape's avatar Constantin Pape
Browse files

Fix bug in base attributes

parent 5e111e30
No related branches found
No related tags found
No related merge requests found
#! /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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment