Commit 5ec05aef authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

fix issues with Path/HasPath in IFCs

parent 63648f5e
...@@ -83,7 +83,7 @@ class IFC(common.HasPaths): ...@@ -83,7 +83,7 @@ class IFC(common.HasPaths):
optional=True, help='select traces to be treated by this IFC') optional=True, help='select traces to be treated by this IFC')
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
Object.__init__(self, *args, **kwargs) common.HasPaths.__init__(self, *args, **kwargs)
self.shifter.t_tolerance = 1./(self.fmax * 2.) self.shifter.t_tolerance = 1./(self.fmax * 2.)
def setup(self, config): def setup(self, config):
...@@ -319,10 +319,10 @@ class OnsetIFC(IFC): ...@@ -319,10 +319,10 @@ class OnsetIFC(IFC):
class TemplateMatchingIFC(IFC): class TemplateMatchingIFC(IFC):
template_event_path = String.T( template_event_path = common.Path.T(
help='Event parameters of the template') help='Event parameters of the template')
template_markers_path = String.T( template_markers_path = common.Path.T(
optional=True, optional=True,
help='File with markers defining the template') help='File with markers defining the template')
...@@ -468,7 +468,7 @@ class ManualPickIFC(IFC): ...@@ -468,7 +468,7 @@ class ManualPickIFC(IFC):
''' '''
fsmooth = Float.T(default=0.1) fsmooth = Float.T(default=0.1)
picks_path = String.T() picks_path = common.Path.T()
picks_phasename = String.T() picks_phasename = String.T()
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment