Skip to content

Commit

Permalink
Merge branch 'master' into babel
Browse files Browse the repository at this point in the history
  • Loading branch information
zakandrewking committed Nov 23, 2015
2 parents bb9ce35 + 123cb04 commit d47937c
Show file tree
Hide file tree
Showing 56 changed files with 18,770 additions and 640 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -4,7 +4,6 @@
*.pyc
.#*
TAGS
dist/
Escher.egg-info/
.ipynb_checkpoints/
build/
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
9 changes: 9 additions & 0 deletions docs/build_docs
@@ -0,0 +1,9 @@
#! /usr/bin/env python

import platform
from subprocess import call

if platform.system() == 'Windows':
call('make.bat html', shell=True)
else:
call(['make', 'html'])
11 changes: 8 additions & 3 deletions docs/sphinx/conf.py → docs/conf.py
Expand Up @@ -14,6 +14,8 @@

import sys
import os
from os.path import join, dirname, abspath
import json

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -50,10 +52,13 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
with open(join(dirname(__file__), '..', 'package.json'), 'r') as f:
package = json.load(f)

# The short X.Y version.
version = '1.3.0'
version = package['version']
# The full version, including alpha/beta/rc tags.
release = '1.3.0'
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -101,7 +106,7 @@

# Only import and set the theme if we're building docs locally. Otherwise,
# readthedocs.org uses their theme by default, so no need to specify it.
if not on_rtd:
if not on_rtd:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 18 additions & 3 deletions docs/sphinx/getting_started.rst → docs/getting_started.rst
Expand Up @@ -173,7 +173,9 @@ The structure of a CSV file
^^^^^^^^^^^^^^^^^^^^^^^^^^^

CSV files should have 1 header row, 1 ID column, and either 1 or 2 columns for
data values. Here is an example with a single data value columns::
data values. The ID column can contain BiGG IDs or descriptive names for the
reactions, metabolites, or genes in the dataset. Here is an example with a
single data value columns::

ID,time 0sec
glc__D_c,5.4
Expand All @@ -187,7 +189,7 @@ ID time 0sec
glc__D_c 5.4
g6p_c 2.3
========= =========

If two datasets are provided, then the Escher map will display the difference
between the datasets. In the Settings menu, the **Comparison** setting allows
you to choose between comparison functions (Fold Change, Log2(Fold Change), and
Expand All @@ -199,7 +201,20 @@ ID time 0sec time 5s
glc__D_c 5.4 10.2
g6p_c 2.3 8.1
========= ========= =========


..
For gene data, an example file could contain the BiGG IDs (generally the locus
IDs) or the descriptive names (generally gene names). So, for the RECON1 human
model, the following gene data files would be equivalent:
ID,reads
glc__D_c,1220
g6p__D_c,35

descriptive name,reads
glc__D_c,1220
g6p__D_c,35

Data can also be loaded from a JSON file. This Python code snippet provides an
example of generating the proper format for single reaction data values and for
reaction data comparisons::
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d47937c

Please sign in to comment.