Skip to content

Commit

Permalink
upgraded click version dependence and added documentation breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
chiffa committed Nov 5, 2018
1 parent aa4cb95 commit c4a4489
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions bioflow/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def main():
def initialize(path, neo4jserver, mongoserver):
"""
Initialized the working environement
\f
:param path: path where the external data sources are expected to be stored
:param neo4jserver: neo4j server adress and port
Expand All @@ -46,6 +47,7 @@ def initialize(path, neo4jserver, mongoserver):
def downloaddbs():
"""
Downloads the databases automatically
\f
:return:
"""
Expand All @@ -58,6 +60,7 @@ def downloaddbs():
def setorg(organism):
"""
Sets organism-specific configurations
\f
:param organism:
:return:
Expand All @@ -73,6 +76,7 @@ def setorg(organism):
def purgeneo4j():
"""
Wipes the neo4j organism-specific database
\f
:return:
"""
Expand All @@ -88,6 +92,7 @@ def purgeneo4j():
def loadneo4j():
"""
Loads the information from external database into the master repositry inside neo4j
\f
:return:
"""
Expand All @@ -110,6 +115,8 @@ def sethits(source, background):
are HGCN gene names (TP53), Uniprot gene names (P53_HUMAN) or Uniprot Accession numbers (
P04637).
Other sources, such as ENSEMBL or PDB IDs.
\f
:param source:
:param background:
:return:
Expand All @@ -122,6 +129,8 @@ def sethits(source, background):
def rebuildlaplacians():
"""
Extracts the Laplacian matrices from the master graph database.
\f
:return:
"""
from bioflow.utils.top_level import rebuild_the_laplacians
Expand All @@ -136,6 +145,7 @@ def rebuildlaplacians():
def purgemongo(collection):
"""
purges the mongodb collection currently used to store all the information.
\f
:param collection:
:return:
Expand All @@ -159,6 +169,7 @@ def purgemongo(collection):
def interactomeanalysis(depth, processors, skipsampling, skiphitflow):
"""
Performs interactome analysis given background set given earlier.
\f
:param depth:
:param processors:
Expand Down Expand Up @@ -187,6 +198,7 @@ def interactomeanalysis(depth, processors, skipsampling, skiphitflow):
def knowledgeanalysis(depth, processors, skipsampling):
"""
Performs annotome analysis given background set given earlier.
\f
:param depth:
:param processors:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scikit-learn < 0.17
cython < 0.23
pymongo < 4.0
requests < 3.0
click < 6.0
click < 8.0
scikits.sparse < 0.3
mock < 2.0
requests-ftp < 0.4
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'cython < 0.23',
'pymongo < 4.0',
'requests < 3.0',
'click < 6.0',
'click < 8.0',
'scikits.sparse < 0.3',
'mock < 2.0',
'requests-ftp < 0.4',
Expand All @@ -35,7 +35,7 @@
requirements = [
'pymongo < 4.0',
'requests < 3.0',
'click < 6.0',
'click < 8.0',
'requests-ftp < 0.4',
'neo4j-driver < 1.6',
]
Expand Down

0 comments on commit c4a4489

Please sign in to comment.