mailr16256 - in /branches/uf_redesign/prompt: __init__.py view.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 12, 2012 - 11:17:
Author: bugman
Date: Sat May 12 11:17:53 2012
New Revision: 16256

URL: http://svn.gna.org/viewcvs/relax?rev=16256&view=rev
Log:
Eliminated the view user function as this is ancient dead code.

This user function has essentially remained the same as when it was 
introduced at r788 back in the
0.3 relax line in October 2003!  It has never actually done anything and has 
somehow managed to
survive in the source tree unnoticed.


Removed:
    branches/uf_redesign/prompt/view.py
Modified:
    branches/uf_redesign/prompt/__init__.py

Modified: branches/uf_redesign/prompt/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/__init__.py?rev=16256&r1=16255&r2=16256&view=diff
==============================================================================
--- branches/uf_redesign/prompt/__init__.py (original)
+++ branches/uf_redesign/prompt/__init__.py Sat May 12 11:17:53 2012
@@ -29,7 +29,6 @@
            'interpreter',
            'objects',
            'tab_completion',
-           'view',
            'vmd']
 
 __doc__ = \

Removed: branches/uf_redesign/prompt/view.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/view.py?rev=16255&view=auto
==============================================================================
--- branches/uf_redesign/prompt/view.py (original)
+++ branches/uf_redesign/prompt/view.py (removed)
@@ -1,49 +1,0 @@
-###############################################################################
-#                                                                            
 #
-# Copyright (C) 2003-2012 Edward d'Auvergne                                  
 #
-#                                                                            
 #
-# This file is part of the program relax.                                    
 #
-#                                                                            
 #
-# relax is free software; you can redistribute it and/or modify              
 #
-# it under the terms of the GNU General Public License as published by       
 #
-# the Free Software Foundation; either version 2 of the License, or          
 #
-# (at your option) any later version.                                        
 #
-#                                                                            
 #
-# relax is distributed in the hope that it will be useful,                   
 #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of             
 #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              
 #
-# GNU General Public License for more details.                               
 #
-#                                                                            
 #
-# You should have received a copy of the GNU General Public License          
 #
-# along with relax; if not, write to the Free Software                       
 #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
 #
-#                                                                            
 #
-###############################################################################
-
-# Module docstring.
-"""Module containing molecular viewing 'view()' user function."""
-__docformat__ = 'plaintext'
-
-# relax module imports.
-from status import Status; status = Status()
-
-class View:
-    """Class containing the view function."""
-
-    def view(self):
-        """Function for viewing the collection of molecules extracted from 
the PDB file.
-
-
-        Example
-        ~~~~~~~
-
-        relax> view()
-        """
-
-        # Function intro text.
-        if status.prompt_intro:
-            text = status.ps3 + "view()"
-            print(text)
-
-        # Execute the functional code.
-        self.__relax__.generic.view.view()




Related Messages


Powered by MHonArc, Updated Sat May 12 13:00:02 2012