Changeset 252


Ignore:
Timestamp:
08/10/10 13:50:13 (9 years ago)
Author:
marcus
Message:

Minor changes.

Location:
SHX/trunk/src/SeismicHandler
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/src/SeismicHandler

    • Property svn:ignore
      •  

        old new  
        22.project 
        33.pydevproject 
         4.shx.cfg.swp 
  • SHX/trunk/src/SeismicHandler/core/__init__.py

    r248 r252  
    2626from SeismicHandler.core.modules.runtime import runtime 
    2727 
     28from obspy.core import read as obspy_read 
     29 
    2830# runtime configuration 
    2931Settings = runtime() 
     
    3436Traces = t.visible 
    3537Hidden = t.hidden 
     38 
     39def read(*args, **kwargs): 
     40    """ 
     41    Wrapper for obspy read. 
     42 
     43    Escpecially 
     44    """ 
     45    return obspy_read(*args, **kwargs) 
     46 
  • SHX/trunk/src/SeismicHandler/core/modules/runtime.py

    r247 r252  
    2424import sys 
    2525from SeismicHandler.core.basic.tools import Property 
     26from obspy.core.util import AttribDict 
    2627 
    2728class runtime(object): 
    2829    # see echo_channel() 
    2930    __echo_channel = sys.stdout 
     31     
     32    # configuration is read from file 
     33    __configuration = None 
    3034 
    3135    # global switches (see http://www.seismic-handler.org/portal/wiki/ShSwitch) 
     
    6569 
    6670        return cls.__instance 
     71 
     72    def __init__(self): 
     73        print self.__configuration 
     74        self.__configuration = 1 
    6775 
    6876    def __getattr__(self, name): 
Note: See TracChangeset for help on using the changeset viewer.