[python-ase] patch file added

Marcin Dulak marcindulak at fedoraproject.org
Tue Dec 10 11:44:26 UTC 2013


commit 7333a953fc648bd401efc801c39ef8b666dbe56e
Author: marcindulak <Marcin.Dulak at gmail.com>
Date:   Tue Dec 10 12:38:40 2013 +0100

    patch file added

 python-ase-3.8.1.3440.ase.gui.ag.patch |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/python-ase-3.8.1.3440.ase.gui.ag.patch b/python-ase-3.8.1.3440.ase.gui.ag.patch
new file mode 100644
index 0000000..a740980
--- /dev/null
+++ b/python-ase-3.8.1.3440.ase.gui.ag.patch
@@ -0,0 +1,16 @@
+diff -Naur python-ase-3.8.1.3440.orig/ase/gui/ag.py python-ase-3.8.1.3440/ase/gui/ag.py
+--- python-ase-3.8.1.3440.orig/ase/gui/ag.py	2013-11-22 16:00:05.000000000 +0100
++++ python-ase-3.8.1.3440/ase/gui/ag.py	2013-12-10 11:32:31.915511000 +0100
+@@ -93,11 +93,8 @@
+                     parser.error(e.args[0])
+                 else:
+                     parser.error(e.args[1] + ': ' + e.filename)
+-        elif sys.stdin.isatty():
+-            images.initialize([Atoms()])
+         else:
+-            from ase.db import connect
+-            images.initialize([connect(sys.stdin, 'json')[0]])
++            images.initialize([Atoms()])
+ 
+         if opt.interpolate:
+             images.interpolate(opt.interpolate)


More information about the scm-commits mailing list