Hi,
can you update to 1.3.1 and test again ? I can't reproduce the bug (line
148 looks OK in github)
Thomas
ps: update = pip uninstall msnoise + pip install msnoise
Le 28/03/2015 13:21, 洪瑞駿 a écrit :
Dear Thomas,
I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly tool.
I just start to learn this but there's a problem arises while doing the
stacking process.
I noticed that you provide data in the folder "tests" as the example, so I
start my practice here.and the data length is only one day.(could it be the
problem?)
Everything was fine until stacking.
I type the comment: msnoise stack -r -m -i 10, and the terminal shows these:
2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
Traceback (most recent call last):
File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
load_entry_point('msnoise==1.3', 'console_scripts',
'msnoise')()
File
"/home/hung/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
line 306, in run
cli(obj={})
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 610, in __call__
return self.main(*args, **kwargs)
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 590, in main
rv = self.invoke(ctx)
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 416, in invoke
return callback(*args, **kwargs)
File
"/home/hung/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
line 139, in stack
main('ref', interval)
File
"/home/hung/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
line 148, in main
updated_days = updated_days_for_dates(db, start, end, pair.replace('_',
'.'), type='CC',
interval=datetime.timedelta(days=interval),returndays=True)
*TypeError: updated_days_for_dates() got an unexpected keyword argument
'type'*
I underline the error line, and I have no idea about that.
I've been seeking solutions but got less information. Would you please tell
me what's wrong with that?
I'm appreciated for your help
Charlie Hung
undergraduate student
Department of Earth Science, National Central University, R.O.C.
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise