Coverage for /usr/local/lib/python3.11/dist-packages/pyrocko/gui/snuffler/snufflings/__init__.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2024-01-02 12:31 +0000

1# https://pyrocko.org - GPLv3 

2# 

3# The Pyrocko Developers, 21st Century 

4# ---|P------/S----------~Lg---------- 

5 

6from . import ( 

7 minmax, rms, stalta, geofon, ampspec, catalogs, download, cake_phase, 

8 seismosizer, map, polarization, spectrogram) 

9 

10modules = [ 

11 minmax, rms, download, stalta, geofon, ampspec, catalogs, map, cake_phase, 

12 seismosizer, polarization, spectrogram] 

13 

14 

15def __snufflings__(): 

16 snufflings = [] 

17 for mod in modules: 

18 snufflings.extend(mod.__snufflings__()) 

19 

20 for snuffling in snufflings: 

21 snuffling.setup() 

22 snuffling.set_name(snuffling.get_name() + ' (builtin)') 

23 

24 return snufflings