From e7507a325f2bd7451fd91c280ccbb835bc88a764 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 11 Jun 2014 05:43:27 +0200 Subject: [PATCH] fixed usage of keyword arguments; --- pylot/core/read/__init__.py | 2 +- pylot/core/read/inputs.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pylot/core/read/__init__.py b/pylot/core/read/__init__.py index de68ca8a..6530848e 100644 --- a/pylot/core/read/__init__.py +++ b/pylot/core/read/__init__.py @@ -1,2 +1,2 @@ from pylot.core.read.data import (GenericDataStructure, SeiscompDataStructure) -from pylot.core.read.inputs import (AutoPickParameter, FilterOptions) \ No newline at end of file +from pylot.core.read.inputs import (AutoPickParameter, FilterOptions) diff --git a/pylot/core/read/inputs.py b/pylot/core/read/inputs.py index 4c8569f9..cf827b19 100644 --- a/pylot/core/read/inputs.py +++ b/pylot/core/read/inputs.py @@ -6,7 +6,7 @@ class AutoPickParameter(object): ''' AutoPickParameters is a parameter type object capable to read and/or write parameter ASCII and binary files. - + :param fn str: Filename of the input file Parameters are given for example as follows: @@ -134,7 +134,8 @@ class AutoPickParameter(object): class FilterOptions(object): - def __init__(self, filtertype='bandpass', freq=[2., 5.], order=3): + def __init__(self, filtertype='bandpass', freq=[2., 5.], order=3, + **kwargs): self.__filterInformation = {} self._setFilterType(filtertype) self._setFreq(freq)