projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb9769
)
(hooke_cli.py) fixed export - bug 0011
author
devicerandom
<devnull@localhost>
Fri, 3 Jul 2009 17:55:00 +0000
(17:55 +0000)
committer
devicerandom
<devnull@localhost>
Fri, 3 Jul 2009 17:55:00 +0000
(17:55 +0000)
hooke_cli.py
patch
|
blob
|
history
mfp1dexport.py
patch
|
blob
|
history
diff --git
a/hooke_cli.py
b/hooke_cli.py
index 65e91936a2de5b48a59c2bf3349b828ee8bdc937..0f1fdbb5e0bcad0491f58b9b4c0a2290bda78404 100755
(executable)
--- a/
hooke_cli.py
+++ b/
hooke_cli.py
@@
-632,8
+632,11
@@
If you have a multiple plot, the optional plot to export argument tells Hooke wh
#FIXME: the bottom plot doesn't have the title
dest=0
- if args=='':
- name=linp.safeinput('Filename?',[self.current.path+'.png'])
+
+ if len(args)==0:
+ #FIXME: We have to go into the libinput stuff and fix it, for now here's a dummy replacement...
+ #name=linp.safeinput('Filename?',[self.current.path+'.png'])
+ name=raw_input('Filename? ')
else:
args=args.split()
name=args[0]
diff --git
a/mfp1dexport.py
b/mfp1dexport.py
index 1fd0be3b9686f6365732a1aa59e8fca11b180aa8..c9f94045d922027637c9dad7b8248f78f348a44c 100644
(file)
--- a/
mfp1dexport.py
+++ b/
mfp1dexport.py
@@
-35,6
+35,7
@@
class mfp1dexportDriver(lhc.Driver):
self.filedata.close()
def is_me(self):
+ #FIXME: We want a more reasonable header recognition
if self.raw_header[0][0:4]=='Wave':
return True
else: