obspy.core.util.decoratorΒΆ

Decorator used in ObsPy.

copyright:The ObsPy Development Team (devs@obspy.org)
license:GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html)

Functions

deprecated This is a decorator which can be used to mark functions as deprecated.
deprecated_keywords Decorator for marking keywords as deprecated.
map_example_filename Decorator that replaces “/path/to/filename” patterns in the arg or kwarg of the specified name with the correct file path.
raiseIfMasked Raises if the first argument (self in case of methods) is a Trace with
skip Unconditionally skip a test.
skipIf Skip a test if the condition is true.
skipIfNoData Does nothing if the first argument (self in case of methods) is a Trace
skip_on_network_error Decorator for unittest to mark test routines that fail with certain network errors (e.g.
taper_API_change Decorator for Trace.taper() API change.
uncompressFile Decorator used for temporary uncompressing file if .gz or .bz2 archive.

This Page