Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
076bd90
REL: change versions to 0.2.0
josenavas Aug 24, 2015
f96b33e
REL: Bumping versions to dev
josenavas Aug 24, 2015
61b4da3
Fixing SQL for adding demo user to production env
josenavas Aug 24, 2015
d0eddc7
BUG: Remove unused argument in function
ElDeveloper Aug 24, 2015
fe57ea0
Merge pull request #1436 from ElDeveloper/fix-download-reference-files
adamrp Aug 24, 2015
445cbcb
Merge pull request #1435 from josenavas/fix-make-env
adamrp Aug 24, 2015
e1f359c
Merge branch 'master' of https://github.com/biocore/qiita into versio…
josenavas Aug 24, 2015
eb8d52c
bootstrap theme is required for building the help page
josenavas Aug 24, 2015
d3f4746
Addressing comment
josenavas Aug 24, 2015
a03564a
Merge pull request #1438 from josenavas/fix-setup
ElDeveloper Aug 24, 2015
7d96e3a
BUG: Fix problem with default basedir
ElDeveloper Aug 24, 2015
13a0927
Addressing @ElDeveloper's comment
josenavas Aug 25, 2015
99e90a5
BUG: Add patch to normalize the base_data_dir path
ElDeveloper Aug 25, 2015
726944b
Make default configuration more generic
Aug 25, 2015
35d5231
BUG: Fix patch
ElDeveloper Aug 25, 2015
fb1737d
Merge pull request #1439 from ElDeveloper/path-fix
antgonza Aug 25, 2015
d4397a8
Merge branch 'master' of https://github.com/biocore/qiita into versio…
josenavas Aug 25, 2015
4dafbaf
Addressing comments
josenavas Aug 25, 2015
8cc9a41
Ooops
josenavas Aug 25, 2015
f5f595c
Merge pull request #1433 from josenavas/version_0.2.0
ElDeveloper Aug 25, 2015
78fc7d7
Merge branch 'master' of https://github.com/biocore/qiita into versio…
josenavas Aug 25, 2015
9b37d5b
Updating CHANGELOG.md
josenavas Aug 25, 2015
5d18d8f
Merge pull request #1434 from josenavas/version_0.2.0_dev
ElDeveloper Aug 26, 2015
3efebbf
Merge pull request #1440 from adamrp/tweak_example_cfg
ElDeveloper Aug 26, 2015
fed2771
Merge branch 'master' of https://github.com/biocore/qiita into ebi-st…
antgonza Aug 26, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Qiita changelog

Version 0.2.0-dev (Changes since version 0.2.0 go here)
-------------------------------------------------------

Qiita 0.1.0-dev (changes since Qiita 0.1.0 go here)
---------------------------------------------------
Version 0.2.0 (2015-08-25)
--------------------------

* Creating an empty RawData is no longer needed in order to add a PrepTemplate.
Now, the PrepTemplate is required in order to add a RawData to a study. This is
Expand Down
2 changes: 1 addition & 1 deletion qiita_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------

__version__ = "0.1.0-dev"
__version__ = "0.2.0-dev"
4 changes: 2 additions & 2 deletions qiita_core/configuration_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ def __init__(self):
def _get_main(self, config):
"""Get the configuration of the main section"""
self.test_environment = config.getboolean('main', 'TEST_ENVIRONMENT')
default_base_data_dir = join(dirname(abspath(__file__)),
'..', 'qiita_db', 'support_files',
install_dir = dirname(dirname(abspath(__file__)))
default_base_data_dir = join(install_dir, 'qiita_db', 'support_files',
'test_data')
self.base_data_dir = config.get('main', 'BASE_DATA_DIR') or \
default_base_data_dir
Expand Down
4 changes: 2 additions & 2 deletions qiita_core/support_files/config_test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ USER =
PASSWORD =

# The email to have messages sent from
EMAIL = donotreply@qiita.colorado.edu
EMAIL = example@domain.com

# ----------------------------- Redis settings --------------------------------
[redis]
Expand Down Expand Up @@ -126,7 +126,7 @@ EBI_CENTER_NAME = CCME-COLORADO

# This string (with an underscore) will be prefixed to your EBI submission and
# study aliases
EBI_ORGANIZATION_PREFIX = qiime
EBI_ORGANIZATION_PREFIX = example_organization


# ----------------------------- IPython settings -----------------------------
Expand Down
2 changes: 1 addition & 1 deletion qiita_db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------

__version__ = "0.1.0-dev"
__version__ = "0.2.0-dev"
5 changes: 3 additions & 2 deletions qiita_db/environment_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _insert_processed_params(ref):
TRN.execute()


def _download_reference_files(conn):
def _download_reference_files():
print('Downloading reference files')
if not exists(reference_base_dir):
mkdir(reference_base_dir)
Expand Down Expand Up @@ -242,7 +242,8 @@ def make_environment(load_ontologies, download_reference, add_demo_user):
sql = """INSERT INTO qiita.analysis (email, name, description,
dflt, analysis_status_id)
VALUES ('demo@microbio.me', 'demo@microbio.me-dflt',
'dflt', 't', 1)"""
'dflt', 't', 1)
RETURNING analysis_id"""
TRN.add(sql)
analysis_id = TRN.execute_fetchlast()

Expand Down
2 changes: 0 additions & 2 deletions qiita_db/metadata_template/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@
#
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------

__version__ = "0.0.1-dev"
3 changes: 3 additions & 0 deletions qiita_db/support_files/patches/31.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- August 24, 2015
-- Delete all occurrences of '..' in the base_data_dir entry
SELECT 42;
11 changes: 11 additions & 0 deletions qiita_db/support_files/patches/python_patches/31.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from os.path import realpath
from qiita_db.sql_connection import TRN

with TRN:
TRN.add('SELECT base_data_dir FROM settings')
path = TRN.execute_fetchlast()

# if the path is non-canonical (it contains .. or other redundant symbols)
# this will update it, else it will leave as is
TRN.add("UPDATE settings SET base_data_dir = %s", (realpath(path),))
TRN.execute()
2 changes: 0 additions & 2 deletions qiita_db/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@
#
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------

__version__ = "0.0.1-dev"
2 changes: 1 addition & 1 deletion qiita_pet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
'IE': 10
}

__version__ = "0.1.0-dev"
__version__ = "0.2.0-dev"
2 changes: 0 additions & 2 deletions qiita_pet/handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@
#
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------

__version__ = "0.0.1-dev"
2 changes: 1 addition & 1 deletion qiita_ware/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------

__version__ = "0.1.0-dev"
__version__ = "0.2.0-dev"
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from setuptools import setup
from glob import glob

__version__ = "0.1.0-dev"
__version__ = "0.2.0-dev"


classes = """
Expand Down Expand Up @@ -90,14 +90,14 @@
'support_files/doc/source/_static/*.png'
]},
scripts=glob('scripts/*'),
extras_require={'test': ["nose >= 0.10.1", "pep8", 'mock'],
'doc': ["Sphinx >= 1.2.2", "sphinx-bootstrap-theme"]},
extras_require={'test': ["nose >= 0.10.1", "pep8", 'mock']},
install_requires=['psycopg2', 'click >= 3.3', 'future==0.13.0',
'bcrypt', 'pandas >= 0.15', 'numpy >= 1.7',
'tornado==3.1.1', 'toredis', 'redis',
'ipython[all] >= 2.4.1, < 2.5', 'pyparsing',
'h5py >= 2.3.1', 'biom-format', 'natsort', 'networkx',
'scikit-bio >= 0.2.3, < 0.3.0', 'wtforms == 2.0.1',
'qiime >= 1.9.0, < 1.10.0', 'moi >= 0.2.0, < 0.3.0'],
'qiime >= 1.9.0, < 1.10.0', 'moi >= 0.2.0, < 0.3.0',
'sphinx-bootstrap-theme', 'Sphinx >= 1.2.2'],
classifiers=classifiers
)