Project

General

Profile

Revision 834:d989df597b80

IDd989df597b80
Parent 833:354ddca04053
Child 835:d623d705abd3

Added by Maarten Sneep about 2 years ago

Use the exclude parameter when ingesting existing files

View differences:

src/pycama/EventPlot.py
117 117
    #
118 118
    #  This method reads the date from file to restore itself for plotting.
119 119
    #  The exected format is as written by the pycama.EventPlot.EventPlot.dump() method.
120
    def ingest(self, fname, time_index):
120
    def ingest(self, fname, time_index, exclude=None):
121 121
        self.time_index_in_output = time_index
122 122
        with h5py.File(fname, 'r') as ref:
123 123
            try:

Also available in: Unified diff