mailr7394 - in /1.3/generic_fns/structure: internal.py scientific.py


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

Header


Content

Posted by edward on September 27, 2008 - 01:02:
Author: bugman
Date: Sat Sep 27 01:02:10 2008
New Revision: 7394

URL: http://svn.gna.org/viewcvs/relax?rev=7394&view=rev
Log:
Removed the RelaxNoPDBFileWarning warnings.


Modified:
    1.3/generic_fns/structure/internal.py
    1.3/generic_fns/structure/scientific.py

Modified: 1.3/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/internal.py?rev=7394&r1=7393&r2=7394&view=diff
==============================================================================
--- 1.3/generic_fns/structure/internal.py (original)
+++ 1.3/generic_fns/structure/internal.py Sat Sep 27 01:02:10 2008
@@ -37,7 +37,7 @@
 from generic_fns.mol_res_spin import Selection
 from relax_errors import RelaxError
 from relax_io import open_read_file
-from relax_warnings import RelaxWarning, RelaxNoPDBFileWarning
+from relax_warnings import RelaxWarning
 
 
 
@@ -787,7 +787,6 @@
 
         # Test if the file exists.
         if not access(file_path, F_OK):
-            warn(RelaxNoPDBFileWarning(file_path))
             return
 
         # Set the file name and path.

Modified: 1.3/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=7394&r1=7393&r2=7394&view=diff
==============================================================================
--- 1.3/generic_fns/structure/scientific.py (original)
+++ 1.3/generic_fns/structure/scientific.py Sat Sep 27 01:02:10 2008
@@ -40,7 +40,7 @@
 from generic_fns import relax_re
 from generic_fns.mol_res_spin import Selection, parse_token, tokenise
 from relax_errors import RelaxError, RelaxPdbLoadError
-from relax_warnings import RelaxWarning, RelaxNoAtomWarning, 
RelaxNoPDBFileWarning, RelaxZeroVectorWarning
+from relax_warnings import RelaxWarning, RelaxNoAtomWarning, 
RelaxZeroVectorWarning
 
 
 class Scientific_data(Base_struct_API):
@@ -480,7 +480,6 @@
 
         # Test if the file exists.
         if not access(file_path, F_OK):
-            warn(RelaxNoPDBFileWarning(file_path))
             return
 
         # Set the file name and path.




Related Messages


Powered by MHonArc, Updated Sat Sep 27 01:20:06 2008