Author: bugman Date: Wed Apr 16 17:12:34 2008 New Revision: 5781 URL: http://svn.gna.org/viewcvs/relax?rev=5781&view=rev Log: Fixed the references to self.file_prefix. Modified: 1.3/opendx/isosurface_3D.py Modified: 1.3/opendx/isosurface_3D.py URL: http://svn.gna.org/viewcvs/relax/1.3/opendx/isosurface_3D.py?rev=5781&r1=5780&r2=5781&view=diff ============================================================================== --- 1.3/opendx/isosurface_3D.py (original) +++ 1.3/opendx/isosurface_3D.py Wed Apr 16 17:12:34 2008 @@ -142,7 +142,7 @@ # Generate the text. text = "" - text = text + "file = " + self.file + "\n" + text = text + "file = " + self.file_prefix + "\n" text = text + "grid = " + `(self.inc + 1)` + " x " + `(self.inc + 1)` + " x " + `(self.inc + 1)` + "\n" text = text + "format = ascii\n" text = text + "interleaving = field\n" @@ -289,8 +289,8 @@ # Common code. text = text + """ // - // node Import[3]: x = 225, y = 84, inputs = 6, label = """ + self.file + """ - // input[1]: defaulting = 0, visible = 1, type = 32, value = \"""" + self.file + """.general" + // node Import[3]: x = 225, y = 84, inputs = 6, label = """ + self.file_prefix + """ + // input[1]: defaulting = 0, visible = 1, type = 32, value = \"""" + self.file_prefix + """.general" // input[3]: defaulting = 1, visible = 1, type = 32, value = "general" // page group: Isosurfaces // @@ -1029,7 +1029,7 @@ # Common code. text = text + """ -main_Import_3_in_1 = \"""" + self.file + """.general"; +main_Import_3_in_1 = \"""" + self.file_prefix + """.general"; main_Import_3_in_2 = NULL; main_Import_3_in_3 = NULL; main_Import_3_in_4 = NULL;