Skip to content

Commit d3f6815

Browse files
fcollmanRussTorres
authored andcommitted
fixed minor formatting issues
1 parent 13c7deb commit d3f6815

2 files changed

Lines changed: 19 additions & 18 deletions

File tree

renderapi/coordinate.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ def world_to_local_coordinates_batch(stack, d, z, host=None,
133133
list of dictionary of world coordinates to map following this schema
134134
::
135135
136-
[ {
137-
"tileId": "string",
138-
"world": [
139-
[0,0],
140-
[1,0]...
141-
],
142-
"error": "string"
143-
}]
136+
[ {
137+
"tileId": "string",
138+
"world": [
139+
[0,0],
140+
[1,0]...
141+
],
142+
"error": "string"
143+
}]
144144
z : float
145145
z coordinate to map
146146
execute_local : boolean
@@ -158,7 +158,6 @@ def world_to_local_coordinates_batch(stack, d, z, host=None,
158158
to multiple local points) following..
159159
::
160160
161-
162161
[[ {
163162
"tileId": "string",
164163
"visible": True,False,
@@ -262,8 +261,9 @@ def package_point_match_data_into_json(dataarray, tileId,
262261
dict
263262
dictionary representation of those points and tileId
264263
following
265-
264+
266265
::
266+
267267
{
268268
"tileId": "string",
269269
"world": [

renderapi/transform.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -567,14 +567,15 @@ def estimate(self, A, B, return_params=True, **kwargs):
567567

568568
def concatenate(self, model):
569569
"""concatenate a model to this model -- ported from trakEM2 below:
570-
571-
final double a00 = m00 * model.m00 + m01 * model.m10;
572-
final double a01 = m00 * model.m01 + m01 * model.m11;
573-
final double a02 = m00 * model.m02 + m01 * model.m12 + m02;
574-
575-
final double a10 = m10 * model.m00 + m11 * model.m10;
576-
final double a11 = m10 * model.m01 + m11 * model.m11;
577-
final double a12 = m10 * model.m02 + m11 * model.m12 + m12;
570+
::
571+
572+
final double a00 = m00 * model.m00 + m01 * model.m10;
573+
final double a01 = m00 * model.m01 + m01 * model.m11;
574+
final double a02 = m00 * model.m02 + m01 * model.m12 + m02;
575+
576+
final double a10 = m10 * model.m00 + m11 * model.m10;
577+
final double a11 = m10 * model.m01 + m11 * model.m11;
578+
final double a12 = m10 * model.m02 + m11 * model.m12 + m12;
578579
579580
Parameters
580581
----------

0 commit comments

Comments
 (0)