Skip to content

Commit

Permalink
[catmaid]: fixed bug in mcfc interface (x and y tiles were swapped)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbaden committed May 29, 2015
1 parent f433a48 commit fed4e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/catmaid/mcfccatmaid.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def getTile ( self, webargs ):
# arguments of format /token/channel/slice_type/z/x_y_res.png
m = re.match("(\w+)/([\w+,[:\w]*]*)/(xy|yz|xz)/(\d+)/(\d+)_(\d+)_(\d+).png", webargs)
[self.token, channels, slice_type] = [i for i in m.groups()[:3]]
[ztile, xtile, ytile, res] = [int(i) for i in m.groups()[3:]]
[ztile, ytile, xtile, res] = [int(i) for i in m.groups()[3:]]

#self.channel_list, self.colors = zip(*[i.groups() for i in map(re.compile("(\w+):(\w+)").match, re.split(',', channels))])

Expand Down

0 comments on commit fed4e6c

Please sign in to comment.