Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorben Kroeger committed Aug 22, 2011
1 parent 5007eb0 commit 3e2c7d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions volumeeditor/volumeEditorWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _updateInfoLabels(self, pos):
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)

import os, sys
import os, sys, h5py

import numpy as np
from PyQt4.QtCore import QObject, QRectF, QTime
Expand Down Expand Up @@ -352,8 +352,6 @@ def __init__(self, useGL, argv):
layerstack.append( GrayscaleLayer( source ) )

elif "3dvol" in argv:
import h5py
import os
fname = os.path.split(os.path.abspath(__file__))[0] +"/_testing/l.h5"
if not os.path.exists(fname):
print "please run _testin/labeled3d.py to make a l.h5 file"
Expand Down Expand Up @@ -385,7 +383,6 @@ def __init__(self, useGL, argv):
source = nucleisrc

elif "layers" in argv:
import os
fn = os.path.split(os.path.abspath(__file__))[0] +"/_testing/5d.npy"
raw = np.load(fn)
print "loading file '%s'" % fn
Expand Down Expand Up @@ -434,7 +431,6 @@ def __init__(self, useGL, argv):
source = nucleisrc

elif "label" in argv:
import os
fn = os.path.split(os.path.abspath(__file__))[0] +"/_testing/5d.npy"
raw = np.load(fn)

Expand Down

0 comments on commit 3e2c7d9

Please sign in to comment.