checksit.readers.badctextfile
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Classes
|
MDinfo defines the valid use for the metadata items in the data files. The dictionary is keyed on the metadata label and has values that correspond to: A flag to say if the label can apply globally, A flag to say if the label can apply to a column, The minimum number of values associated with the label The maximum number of values associated with the label - -1 is used where any number are permitted A flag to say if the label is mandatory for 'basic' files (0=not mandatory, 1=mandatory existence for at least one column, 2=must exist for all columns) A flag to say if the label is mandatory for 'complete' files (0=not mandatory, 1=mandatory existence for at least one column, 2=must exist for all columns). |
|
|
|
|
|
Exceptions
- class checksit.readers.badctextfile.BADCTextFile(fh)[source]
MDinfo defines the valid use for the metadata items in the data files. The dictionary is keyed on the metadata label and has values that correspond to:
A flag to say if the label can apply globally, A flag to say if the label can apply to a column, The minimum number of values associated with the label The maximum number of values associated with the label - -1 is used where any number are permitted A flag to say if the label is mandatory for ‘basic’ files
(0=not mandatory, 1=mandatory existence for at least one column, 2=must exist for all columns)
- A flag to say if the label is mandatory for ‘complete’ files
(0=not mandatory, 1=mandatory existence for at least one column, 2=must exist for all columns)