Package wsatools :: Module FitsToDb :: Class NoProvenance
[hide private]

Class NoProvenance

source code


FileError class to indicate that multiframe is not a combiframe.

Instance Methods [hide private]
 
__init__(self)
Initialises member data.
source code
str
__str__(self)
Returns: Error message.
source code
 
append(self)
Indicate that this file is not a combiframe.
source code
bool
errorOccurred(self)
Returns: True if an error has been logged for this file.
source code
str
getFinalAnalysis(self, numErrors)
Returns: The final summary report giving the number of files with missing keywords.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  name = 'NoProvenance'
Name of this type of file error.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialises member data.

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Returns: str
Error message.
Overrides: object.__str__

append(self)

source code 

Indicate that this file is not a combiframe.

Overrides: FileError.append

errorOccurred(self)

source code 
Returns: bool
True if an error has been logged for this file.
Overrides: FileError.errorOccurred

getFinalAnalysis(self, numErrors)

source code 
Parameters:
  • numErrors (int) - The total number of files with this error.
Returns: str
The final summary report giving the number of files with missing keywords.
Overrides: FileError.getFinalAnalysis