Package bosco :: Module importer :: Class SIRunExporter
[hide private]
[frames] | no frames]

Class SIRunExporter

source code

 Importer --+    
            |    
SIRunImporter --+
                |
               SIRunExporter

Export Run data to a backup file.

Instance Methods [hide private]
 
__init__(self, fname, verbose=False) source code
 
export_run(self, run) source code

Inherited from SIRunImporter: add_punch, import_data

Static Methods [hide private]
 
__punch2string(punch)
Convert a punch to a (sistationnr, timestring) tuple.
source code
Class Variables [hide private]

Inherited from SIRunImporter: BASE, CARDNR, CHECK, CLEAR, COURSE, FINISH, READOUT, START, TIMEFORMAT, timestamp_re

Method Details [hide private]

__init__(self, fname, verbose=False)
(Constructor)

source code 
Overrides: Importer.__init__

__punch2string(punch)
Static Method

source code 

Convert a punch to a (sistationnr, timestring) tuple. If punch is None ('', '') is retruned.

Parameters:
  • punch (object of class Punch) - punch to convert