Skip to content

Commit

Permalink
removing print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nicwade committed Oct 28, 2015
1 parent f2a4d93 commit cb46db8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions savu/data/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def amend_axis_labels(self, *args):
for arg in args[0]:
label = arg.split('.')
if len(label) is 1:
print "deleting", int(label[0]) + removed_dims
del axis_labels[int(label[0]) + removed_dims]
removed_dims += 1
self.data_info.set_meta_data(
Expand Down Expand Up @@ -281,7 +280,6 @@ def remove_variable_length(self, length):
shape = list(self.get_shape())
index = [i for i in range(len(shape)) if i is 'var']
shape[index] = length
print "the index", index, shape
self.set_shape(tuple(shape))

def check_dims(self):
Expand Down
2 changes: 1 addition & 1 deletion savu/plugins/find_peaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def setup(self):
in_pData[0].plugin_data_setup("SPECTRUM", self.get_max_frames())

nFrames = in_pData[0].get_total_frames()
print "***", nFrames

out_dataset[0].create_dataset(axis_labels=['frames.frames', 'peaks.pixels'],
shape=(nFrames, 55),
dtype=np.int, # default is float32
Expand Down

0 comments on commit cb46db8

Please sign in to comment.