Browse Source

Fix tests.py

Matthias Vogelgesang 9 years ago
parent
commit
77dd9e5ee7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/tests.py

+ 3 - 3
tests/tests.py

@@ -84,14 +84,14 @@ class BasicTests(unittest.TestCase):
         self.sched.run(self.graph)
 
     def test_3d_edf(self):
-        reader = self.get_task('reader', path=data_path('bug/projections'), count=1)
+        reader = self.get_task('reader', path=data_path('bug/projections'), end=1)
         writer = self.get_task('edf-3d-writer', filename=self.tmp_path('vol-%05i.edf'))
         reco = self.get_task('lamino-bp')
 
         vx, vy, vz = 256, 256, 128
         reco.set_properties(vol_sx=vx, vol_sy=vy, vol_sz=vz,
-		                    vol_ox=0, vol_oy=0, vol_oz=0,
-		                    proj_ox=592, proj_oy=205)
+                            vol_ox=0, vol_oy=0, vol_oz=0,
+                            proj_ox=592, proj_oy=205)
 
         self.graph.connect_nodes(reader, reco)
         self.graph.connect_nodes(reco, writer)