Coverage for /usr/local/lib/python3.11/dist-packages/pyrocko/gui/pile_viewer.py: 0%
10 statements
« prev ^ index » next coverage.py v6.5.0, created at 2024-01-02 12:31 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2024-01-02 12:31 +0000
2"""
3This module has been moved to :py:mod:`pyrocko.gui.snuffler.pile_viewer`.
4"""
5import sys
6import pyrocko
7if pyrocko.grumpy == 1:
8 sys.stderr.write('using renamed pyrocko module: pyrocko.gui.pile_viewer\n')
9 sys.stderr.write(' -> should now use: pyrocko.gui.snuffler.pile_viewer\n\n')
10elif pyrocko.grumpy == 2:
11 sys.stderr.write('pyrocko module has been renamed: pyrocko.gui.pile_viewer\n')
12 sys.stderr.write(' -> should now use: pyrocko.gui.snuffler.pile_viewer\n\n')
13 raise ImportError('Pyrocko module "pyrocko.gui.pile_viewer" has been renamed to "pyrocko.gui.snuffler.pile_viewer".')
15from pyrocko.gui.snuffler.pile_viewer import *