mailr21369 - /branches/relax_disp/lib/software/grace.py


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

Header


Content

Posted by edward on November 04, 2013 - 09:14:
Author: bugman
Date: Mon Nov  4 09:14:09 2013
New Revision: 21369

URL: http://svn.gna.org/viewcvs/relax?rev=21369&view=rev
Log:
Added a header comment to the grace2images.py script to explain its 
dependence on Grace.

This is thanks to feedback from Nikolai Skrynnikov.


Modified:
    branches/relax_disp/lib/software/grace.py

Modified: branches/relax_disp/lib/software/grace.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/lib/software/grace.py?rev=21369&r1=21368&r2=21369&view=diff
==============================================================================
--- branches/relax_disp/lib/software/grace.py (original)
+++ branches/relax_disp/lib/software/grace.py Mon Nov  4 09:14:09 2013
@@ -28,6 +28,8 @@
 from pipe_control import pipes
 import specific_analyses
 
+# This script is used to batch convert the Grace *.agr files into graphics 
files using the Grace
+# program itself.
 
 def script_grace2images(file=None):
     """Write a python "grace to PNG/EPS/SVG..." conversion script..
@@ -40,6 +42,11 @@
 
     # Write to file
     file.write("#!/usr/bin/env python\n")
+    file.write("#\n")
+    file.write("# This script is used to batch convert the Grace *.agr files 
into graphics bitmap files using the\n")
+    file.write("# Grace program itself.  Therefore you will need to install 
on your system xmgrace,\n")
+    file.write("# (http://plasma-gate.weizmann.ac.il/Grace/), qtgrace 
(http://sourceforge.net/projects/qtgrace/)\n")
+    file.write("# or gracegtk 
(http://sourceforge.net/projects/gracegtk/).\n")
     file.write("\n")
     file.write("import glob, os, sys\n")
     file.write("import shlex, subprocess\n")




Related Messages


Powered by MHonArc, Updated Mon Nov 04 11:20:01 2013