[med-svn] [python-csb] 02/03: Imported Upstream version 1.2.3+dfsg

Tomás Di Domenico tdido-guest at moszumanska.debian.org
Mon Feb 17 12:25:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

tdido-guest pushed a commit to branch master
in repository python-csb.

commit b6b3146c597270a679e2b2ed102f9e834f84839d
Author: Tomás Di Domenico <tdido at tdido.com.ar>
Date:   Mon Feb 17 11:28:17 2014 +0100

    Imported Upstream version 1.2.3+dfsg
---
 PKG-INFO               |  2 +-
 csb/__init__.py        |  2 +-
 csb/apps/bfit.py       |  8 ++++++--
 csb/apps/bfite.py      |  7 +++++--
 csb/apps/buildhmm.py   |  8 +++++---
 csb/apps/csfrag.py     | 10 +++++-----
 csb/apps/embd.py       |  8 +++++---
 csb/apps/helloworld.py |  9 ++++++---
 csb/apps/hhfrag.py     |  9 +++++----
 csb/apps/hhsearch.py   |  8 +++++---
 csb/apps/precision.py  |  8 +++++---
 csb/apps/promix.py     | 10 ++++++----
 12 files changed, 55 insertions(+), 34 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index a69d881..074a763 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: csb
-Version: 1.2.2
+Version: 1.2.3
 Summary: Computational Structural Biology Toolbox
 Home-page: http://csb.codeplex.com
 Author: Michael Habeck et al.
diff --git a/csb/__init__.py b/csb/__init__.py
index ff38330..e29e1aa 100644
--- a/csb/__init__.py
+++ b/csb/__init__.py
@@ -185,7 +185,7 @@ CSB is open source and distributed under OSI-approved MIT license::
     
 """
 
-__version__ = '1.2.2.614'
+__version__ = '1.2.3.617'
 
 
 class Version(object):
diff --git a/csb/apps/bfit.py b/csb/apps/bfit.py
index 2f00b85..7025e44 100644
--- a/csb/apps/bfit.py
+++ b/csb/apps/bfit.py
@@ -114,6 +114,10 @@ class BFitApp(csb.apps.Application):
         m.to_pdb(self.args.outfile)
         
 
-
-if __name__ == '__main__':
+def main():
     AppRunner().run()
+    
+    
+if __name__ == '__main__':
+    main()
+    
diff --git a/csb/apps/bfite.py b/csb/apps/bfite.py
index 478ce99..e686753 100644
--- a/csb/apps/bfite.py
+++ b/csb/apps/bfite.py
@@ -109,8 +109,11 @@ class BFitApp(csb.apps.Application):
             out_ensemble.models.append(model)
 
         out_ensemble.to_pdb(self.args.outfile)
-        
 
 
-if __name__ == '__main__':
+def main():
     AppRunner().run()
+    
+    
+if __name__ == '__main__':
+    main()
\ No newline at end of file
diff --git a/csb/apps/buildhmm.py b/csb/apps/buildhmm.py
index 352c043..3eda864 100644
--- a/csb/apps/buildhmm.py
+++ b/csb/apps/buildhmm.py
@@ -297,7 +297,9 @@ class PDBProfileBuilder(ProfileBuilder):
         return pdb             
 
 
-
-if __name__ == '__main__':
+def main():
+    AppRunner().run()
     
-    AppRunner().run()    
+    
+if __name__ == '__main__':
+    main()
\ No newline at end of file
diff --git a/csb/apps/csfrag.py b/csb/apps/csfrag.py
index fd37458..d0a6f86 100644
--- a/csb/apps/csfrag.py
+++ b/csb/apps/csfrag.py
@@ -533,9 +533,9 @@ def _task(helper, subject, qs, qe, qcs, scs):
         return []
 
 
-
-
-if __name__ == '__main__':
-     
+def main():
     AppRunner().run()
-    
\ No newline at end of file
+    
+    
+if __name__ == '__main__':
+    main()
\ No newline at end of file
diff --git a/csb/apps/embd.py b/csb/apps/embd.py
index b2c8da3..c70ee42 100644
--- a/csb/apps/embd.py
+++ b/csb/apps/embd.py
@@ -275,9 +275,11 @@ class Deconvolution(object):
         """
         for i in range(iterations):
             self.run_once()
-    
 
 
-if __name__ == '__main__':
-    
+def main():
     AppRunner().run()
+    
+    
+if __name__ == '__main__':
+    main()
\ No newline at end of file
diff --git a/csb/apps/helloworld.py b/csb/apps/helloworld.py
index 06d2b96..7592500 100644
--- a/csb/apps/helloworld.py
+++ b/csb/apps/helloworld.py
@@ -48,8 +48,11 @@ class HelloWorldApp(csb.apps.Application):
         
         self.log(text)
         self.log('HW: done.')        
-        
 
-if __name__ == '__main__':
+
+def main():
+    AppRunner(sys.argv).run()
     
-    AppRunner(sys.argv).run()        
+    
+if __name__ == '__main__':
+    main()
diff --git a/csb/apps/hhfrag.py b/csb/apps/hhfrag.py
index 51e0b86..804afbf 100644
--- a/csb/apps/hhfrag.py
+++ b/csb/apps/hhfrag.py
@@ -581,10 +581,11 @@ class PredictionBuilder(object):
         
         for i in ri:
             self.add(i)
-            
+
+
+def main():
+    AppRunner().run()
     
     
 if __name__ == '__main__':
-    
-    AppRunner().run()
-    
\ No newline at end of file
+    main()
\ No newline at end of file
diff --git a/csb/apps/hhsearch.py b/csb/apps/hhsearch.py
index eeab329..54caaf7 100644
--- a/csb/apps/hhsearch.py
+++ b/csb/apps/hhsearch.py
@@ -271,9 +271,11 @@ class HHsearch(object):
             pool.terminate()
         
         return results
-    
+
+
+def main():
+    AppRunner().run()
     
     
 if __name__ == '__main__':
-    
-    AppRunner().run()    
+    main()
\ No newline at end of file
diff --git a/csb/apps/precision.py b/csb/apps/precision.py
index cbe8632..d4e6159 100644
--- a/csb/apps/precision.py
+++ b/csb/apps/precision.py
@@ -313,9 +313,11 @@ def rmsd(target, source, fragments, pdb, save=None):
                 continue
                 
     return matches         
-     
 
 
-if __name__ == '__main__':
-    
+def main():
     AppRunner().run()
+    
+    
+if __name__ == '__main__':
+    main()
\ No newline at end of file
diff --git a/csb/apps/promix.py b/csb/apps/promix.py
index 628964e..fd149d9 100644
--- a/csb/apps/promix.py
+++ b/csb/apps/promix.py
@@ -7,7 +7,6 @@ files, each superposed on different components.
 Reference: Hirsch M, Habeck M. - Bioinformatics. 2008 Oct 1;24(19):2184-92
 """
 
-import sys
 import numpy
 
 import csb.apps
@@ -102,7 +101,10 @@ class ProMixApp(csb.apps.Application):
 
             ek.to_pdb(outfile)
 
-if __name__ == '__main__':
-    AppRunner(sys.argv).run()
 
-# vi:expandtab:smarttab:sw=4
+def main():
+    AppRunner().run()
+    
+    
+if __name__ == '__main__':
+    main()
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-csb.git



More information about the debian-med-commit mailing list