annotate phe/metadata/__init__.py @ 22:96f393ad7fc6 draft default tip

Uploaded
author ulfschaefer
date Wed, 23 Dec 2015 04:50:58 -0500
parents f72039c5faa4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
1 """Metadata related information."""
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
2
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
3 import abc
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
4
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
5 class PHEMetaData(object):
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
6 """Abstract class to provide interface for meta-data creation."""
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
7
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
8 __metaclass__ = abc.ABCMeta
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
9
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
10 def __init__(self):
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
11 pass
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
12
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
13 @abc.abstractmethod
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
14 def get_meta(self):
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
15 """Get the metadata."""
f72039c5faa4 Uploaded
ulfschaefer
parents:
diff changeset
16 raise NotImplementedError("get meta has not been implemented yet.")