| Module: Format | Bio/Format.py | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Define a Format for the Bioformats projects. These are the allowed fields.
This is the externally visible string that people should use. It must be unique. The grammer for a name is not yet written formalized, but here are some examples: swissprot swissprot/38 pdb-generic pdb-generic/2.1 pdb/XPLOR-3.1
This value should not be visible to most people. It is used as part of the resolution system to find builders, converters, and writers without having to define everything at the beginning. The abbrev name must be usable as a Python module name, which means it must be of the form: [a-zA-Z_][a-zA-Z0-9_]* If not given, the
|
| Imported modules | ||||||||
|---|---|---|---|---|---|---|---|---|
|
import Martel from Martel import Parser import ReseekFile import StdHandler import _FmtUtils import re import sys import urllib from xml.sax import handler, saxutils | ||||||||
| Functions | ||||||||
|
_Trace _build_child_path _build_parent_path _parse_docstring check_parser_file check_parser_string | ||||||||
| _Trace | ||||||||
_Trace ( trace ) | ||||||||
| _build_child_path | ||||||||
_build_child_path (
format,
visited,
format_list,
)
| ||||||||
| _build_parent_path | ||||||||
_build_parent_path (
format,
visited,
format_list,
)
| ||||||||
| _parse_docstring | ||||||||
_parse_docstring ()
| ||||||||
| check_parser_file | ||||||||
check_parser_file (
expression,
infile,
trace,
debug_level,
)
| ||||||||
| check_parser_string | ||||||||
check_parser_string (
expression,
s,
trace,
debug_level,
)
| ||||||||
| Classes | ||||||||
|