~ubuntu-branches/ubuntu/trusty/autodocktools/trusty

« back to all changes in this revision

Viewing changes to AutoDockTools/Utilities24/write_each_cluster_LE_conf.py

  • Committer: Package Import Robot
  • Author(s): Thorsten Alteholz
  • Date: 2012-02-06 18:00:00 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120206180000-cmdihm43xz7qi2qk
Tags: 1.5.6~rc3~cvs.20120206-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#
3
3
4
4
#
5
 
# $Header: /opt/cvs/python/packages/share1.5/AutoDockTools/Utilities24/write_each_cluster_LE_conf.py,v 1.2 2011/12/16 18:50:48 rhuey Exp $
 
5
# $Header: /opt/cvs/python/packages/share1.5/AutoDockTools/Utilities24/write_each_cluster_LE_conf.py,v 1.3.2.1 2011/12/27 22:45:45 rhuey Exp $
6
6
#
7
7
import os, glob
8
8
 
9
9
from MolKit import Read
10
10
from AutoDockTools.Docking import Docking
11
11
from mglutil.math.rmsd import RMSDCalculator
 
12
from string import strip
12
13
 
13
14
 
14
15
 
79
80
        lines = []
80
81
        #have to add newline character to lines read from dlg
81
82
        for l in parser.allLines:
 
83
            l = strip(l)
82
84
            l+= '\n'
83
85
            lines.append(l)
84
86
        parser.allLines = lines