mailr27007 - /branches/nmrglue/test_suite/system_tests/nmrglue.py


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

Header


Content

Posted by tlinnet on December 07, 2014 - 23:43:
Author: tlinnet
Date: Sun Dec  7 23:43:06 2014
New Revision: 27007

URL: http://svn.gna.org/viewcvs/relax?rev=27007&view=rev
Log:
Change to systemtest Nmrglue.test_save_state.

This now tries to save a 8MB numpy array to a state file.
The numpy array has shape 512x4096.

numpy.save store the array instantly, while saving the state, hungs up the 
computer for a long time.

This shows that relax is really in-efficient in storing data.
This both accounts for simple numpy array, and for storing class instances.

Task #7873 (https://gna.org/task/index.php?7873): Write wrapper function to 
nmrglue, to read .ft2 files and process them.
Homepage: http://www.nmrglue.com/
Link to nmrglue discussion: 
https://groups.google.com/forum/#!forum/nmrglue-discuss
The code is develop at Github: https://github.com/jjhelmus/nmrglue/
Documentation: http://nmrglue.readthedocs.org/en/latest/index.html

Modified:
    branches/nmrglue/test_suite/system_tests/nmrglue.py

Modified: branches/nmrglue/test_suite/system_tests/nmrglue.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/nmrglue/test_suite/system_tests/nmrglue.py?rev=27007&r1=27006&r2=27007&view=diff
==============================================================================
--- branches/nmrglue/test_suite/system_tests/nmrglue.py (original)
+++ branches/nmrglue/test_suite/system_tests/nmrglue.py Sun Dec  7 23:43:06 
2014
@@ -373,7 +373,7 @@
         print("Filesize of .npy file is: %i"%(data_numpy_size) )
 
         # Delete the large data array, for faster saving.
-        cdp.nmrglue_data[sp_id] = 0
+        #cdp.nmrglue_data[sp_id] = 0
 
         # Store the directory path, before reset of the controller.
         dirpath = ds.tmpdir




Related Messages


Powered by MHonArc, Updated Mon Dec 08 00:20:01 2014