Sam Skillman avatar Sam Skillman committed de09272

Comment out debugging print statements.

Comments (0)

Files changed (2)

yt/utilities/amr_kdtree/amr_kdtree.py

 
         """
         if self.tree is None: 
-            print 'No KD Tree Exists'
+            mylog.error('No KD Tree Exists')
             return
         self.image = image
 
         viewpoint = back_center 
-        print 'Moving from front_center to back_center:',front_center, back_center
+        # print 'Moving from front_center to back_center:',front_center, back_center
 
         for node in self.viewpoint_traverse(viewpoint):
             if node.grid is not None:
             else:
                 front = parent.left_child
                 back = parent.right_child
-            print 'Combining', viewpoint, parent.split_ax, parent.split_pos
-            print front.l_corner, front.r_corner
-            print back.l_corner, back.r_corner
+            # print 'Combining', viewpoint, parent.split_ax, parent.split_pos
+            # print front.l_corner, front.r_corner
+            # print back.l_corner, back.r_corner
 
             # mylog.debug('front owner %i back owner %i parent owner %i'%( front.owner, back.owner, parent.owner))
             # Send the images around

yt/visualization/volume_rendering/camera.py

             self.wg = my_wg
             self.imi = int(self.wg.name[0:4])
             self.imj = int(self.wg.name[5:9])
-            print 'My new communicator has the name %s' % self.wg.name
+            mylog.info('My new communicator has the name %s' % self.wg.name)
             self.nimx = nimx
             self.nimy = nimy
         else:
         return image
 
     def save_image(self, fn, clip_ratio, image):
-        print 'I am here!'
-        print fn 
         if self.pf.field_info[self.field].take_log:
             im = na.log10(image)
         else:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.