Permalink
Browse files

Fixed import issue. Executable is inmembrane_scan.py till I decide on…

… better naming.
  • Loading branch information...
1 parent 4aaf09e commit 67113ff255ed2e41c145b942cb7bef752c688725 @pansapiens pansapiens committed Oct 4, 2012
File renamed without changes.
@@ -26,13 +26,12 @@
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
-import sys
import sys
import os
import shutil
import inmembrane
-import inmembrane.helpers
+#from inmembrane import helpers
from inmembrane.helpers import *
# will load all plugins in the plugins/ directory
from inmembrane.plugins import *
@@ -229,12 +228,12 @@ def process(params):
from optparse import OptionParser
parser = OptionParser()
(options, args) = parser.parse_args()
- params = inmembrane.helpers.get_params()
+ params = get_params()
if ('fasta' not in params or not params['fasta']) and not args:
print description
parser.print_help()
sys.exit(1)
if 'fasta' not in params or not params['fasta']:
params['fasta'] = args[0]
- inmembrane.helpers.process(params)
+ process(params)
File renamed without changes.
View
@@ -20,7 +20,7 @@
package_data={'inmembrane': ['protocols/*/*',
'tests/*/*',
'plugins/*/*'], },
- scripts=['bin/inmembrane.py', 'bin/inmembrane_example.py','bin/inmembrane_tests.py'],
+ scripts=['inmembrane_scan.py', 'inmembrane_example.py','inmembrane_tests.py'],
# README, examples & docs are included via MANIFEST.in
license='BSD',
long_description=open('README.markdown').read(),

0 comments on commit 67113ff

Please sign in to comment.