Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7c005bba authored by pierre's avatar pierre
Browse files

Fix typos in docstrings

parent 424dd177
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
This module includes functions used to decode(clean)/encode This module includes functions used to decode(clean)/encode
identifiers & names from Metacyc & Bigg SBML files. identifiers & names from Metacyc & Bigg SBML files.
.. author:: <pierre.vignet@inria.fr> .. sectionauthor:: <pierre.vignet@inria.fr>
""" """
# Standard imports # Standard imports
......
...@@ -31,10 +31,11 @@ def multiprocess_this(data, **kwargs): ...@@ -31,10 +31,11 @@ def multiprocess_this(data, **kwargs):
reaction's EC Number, reaction's reagents ids & reaction's products ids. reaction's EC Number, reaction's reagents ids & reaction's products ids.
:param arg2: Named parameter 'dest_database' is expected. :param arg2: Named parameter 'dest_database' is expected.
:return: Dictionary of mapped reactions. :return: Dictionary of mapped reactions.
keys: reaction's biological id; *
values: dictionary of purposed reactions: - keys: reaction's biological id; *
mongo objects in keys, - values: dictionary of purposed reactions:
scores in values. - mongo objects in keys,
- scores in values.
:type arg1: <list <<tuple <str>, <list>, <str>, <list>, <list>>> :type arg1: <list <<tuple <str>, <list>, <str>, <list>, <list>>>
:type arg2: <str> :type arg2: <str>
:rtype: <dict <str>, <dict <db.Reaction>, <float>>> :rtype: <dict <str>, <dict <db.Reaction>, <float>>>
......
...@@ -135,7 +135,7 @@ def sbml_writer(experiment): ...@@ -135,7 +135,7 @@ def sbml_writer(experiment):
:Exemple: :Exemple:
- En C on a la fonction document->getAllElements() - En C on a la fonction document->getAllElements()
- En python: document.getListOfAllElements() ! \ - En python: document.getListOfAllElements() ! \
Pourquoi renommer la fonction ? En plus ce n'est meme pas itérable Pourquoi renommer la fonction ? En plus ce n'est meme pas itérable \
que l'on récupère là !! que l'on récupère là !!
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
""" """
This module is the entry point of the REST API. This module is the entry point of the REST API.
..sectionauthor:: Pierre.VIGNET <pierre.vignet@inria.fr> .. sectionauthor:: Pierre.VIGNET <pierre.vignet@inria.fr>
""" """
...@@ -118,9 +118,12 @@ def upload_mapping(experiment_id=None, dst_file=None): ...@@ -118,9 +118,12 @@ def upload_mapping(experiment_id=None, dst_file=None):
For more information see populate_database.handle_csv_file() For more information see populate_database.handle_csv_file()
:Example of mapping file: :Example of mapping file:
SOURCE DESTINATION FORMULA ECNUMBER
M1 M2 C6H12O6 .. code-block:: bash
R1 R2 EC1
SOURCE DESTINATION FORMULA ECNUMBER
M1 M2 C6H12O6
R1 R2 EC1
:Example: :Example:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment