aboutsummaryrefslogtreecommitdiff
path: root/doc/joss/2016
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-10-09 14:04:29 +0300
committerBonfaceKilz2022-11-10 09:00:04 +0300
commit30c31955df6a9d20c28e0dcd9f99f06cbfd51a77 (patch)
tree8d18407757b6e6974b44457a3ca017d7099fa059 /doc/joss/2016
parentd09a9485aebe0fa40c9fed2064a975a7cdd06e87 (diff)
downloadgenenetwork2-30c31955df6a9d20c28e0dcd9f99f06cbfd51a77.tar.gz
Use the Maybe Monad when fetching the accession_id of a dataset
* wqflask/base/data_set/dataset.py: Import itertools, DictCursor, MonadicDict, Maybe, Nothing and query_sql. (DataSet.__init__): Initialize accession_id to Nothing. (DataSet.as_dict): Rename this to ... (Dataset.as_monadic_dict): ... this which returns a monadic dictionary. (DataSet.get_accession_id): Query for the accession_id and return it as a maybe monad.
Diffstat (limited to 'doc/joss/2016')
0 files changed, 0 insertions, 0 deletions