Page MenuHomec4science

sample.py
No OneTemporary

File Metadata

Created
Sun, Jul 13, 20:15

sample.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-
" todo:: documentation for module containing class Sample"
##########################################################################
##########################################################################
class Sample(object):
"""
class Sample: Documentation TODO
"""
# ------------------------------------------------------------------ #
# Constructors/Destructors #
# ------------------------------------------------------------------ #
def __init__(self, sampleID):
"""__init__: Sample is a central and very important object because it links the molecular sequences and their clusters to the metadata (experiment, reactor performances, events). It is initialised with an id, plenty of other members can be actualised after """
# Members ---------------------- #
# string sampleID
self.sampleID = sampleID
# SludgeCaracteristics sample_sludge_caract
self.sample_sludge_caract = None
# Event recent_event
self.recent_event = None
# clusterDictionary sample_clusters
self.sample_clusters = None
# ReactorOperation sample_reactor_op
self.sample_reactor_op = None
# Operator op_sequencing
self.op_sequencing = None
# Performances sample_perf
self.sample_perf = None
# Operator op_water_sampling
self.op_water_sampling = None
# Experiment sample_exp
self.sample_exp = None
# Operator op_reactor_run
self.op_reactor_run = None
# Reactor sample_reactor
self.sample_reactor = None
# Operator op_biomass_sampling
self.op_biomass_sampling = None
# string sample_date
self.sample_date = None
# string institution
self.institution = None
# String sequencing_technology
self.sequencing_technology = None
# Operator op_molecular_extraction
self.op_molecular_extraction = None
pass
def __del__(self):
"""__del__: not implemented """
pass
# ------------------------------------------------------------------ #
# Methods #
# ------------------------------------------------------------------ #
# public:
def convert_date_to_days(self):
"""convert_date_to_days: to implement """
pass
##########################################################################
if __name__ == '__main__':
test = Sample('test_sample')

Event Timeline