Skip to content

Analysis refactor db (#2040) #2067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 191 commits into from
Jul 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
c92231c
Analysis refactor db (#2040)
josenavas Jan 30, 2017
9310326
Analysis refactor fix analysis (#2044)
josenavas Feb 2, 2017
23abbdb
Remove old job code (#2045)
josenavas Feb 2, 2017
e094701
Fixes Qiita db (#2046)
josenavas Feb 3, 2017
3fdb802
Analysis refactor master (#2070)
josenavas Feb 6, 2017
1ab4e3b
Fixing merge conflicts with master
josenavas Feb 8, 2017
1377640
Sync-ing with master (again) (#2073)
josenavas Feb 8, 2017
1e8332e
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
josenavas Feb 9, 2017
cb67d3d
Removing qiita ware code that will not be used anymore
josenavas Feb 9, 2017
ee170a0
Fix qiita ware (#2074)
josenavas Feb 9, 2017
5a5127d
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
josenavas Feb 9, 2017
0033480
Organizing the handlers and new analysis description page
josenavas Feb 9, 2017
3809ad5
Connecting the analysis creation and making interface responsive
josenavas Feb 9, 2017
067f14f
Addressing @antgonza's comments
josenavas Feb 10, 2017
cf4862d
Solving merge conflicts
josenavas Feb 10, 2017
3b07151
Initial artifact GUI refactor
josenavas Feb 10, 2017
a6595a9
Removing unused code
josenavas Feb 10, 2017
6343b49
Merge branch 'analysis-refactor-gui-part2' into analysis-refactor-gui…
josenavas Feb 10, 2017
a083e23
Analysis refactor GUI part1 (#2076)
josenavas Feb 10, 2017
f731768
Adding can_edit call to the analysis
josenavas Feb 14, 2017
7542658
Fixing artifact rest API since not all artifacts have study
josenavas Feb 14, 2017
e0180e8
Adding can_be_publicized call to analysis
josenavas Feb 15, 2017
f55ca5c
Adding QiitaHTTPError to handle errors gracefully
josenavas Feb 15, 2017
1fa4b19
Adding safe_execution contextmanager
josenavas Feb 15, 2017
b61ae87
Fixing typo
josenavas Feb 15, 2017
bb68303
Adding qiita test checker
josenavas Feb 15, 2017
b31a025
Adapting some artifact handlers
josenavas Feb 15, 2017
378d7ff
Fixing merge conflicts
josenavas Feb 15, 2017
444da08
Merge branch 'analysis-refactor-gui-part2' into analysis-refactor-gui…
josenavas Feb 15, 2017
f6b4c46
Abstracting the graph reloading and adding some documentation
josenavas Feb 15, 2017
e9d3af3
Fixing typo
josenavas Feb 15, 2017
69b6412
Merge branch 'analysis-refactor-gui-part3' into analysis-refactor-gui…
josenavas Feb 15, 2017
60cd430
Fixing changing artifact visibility
josenavas Feb 15, 2017
be099cb
Fixing delete
josenavas Feb 15, 2017
819e9a5
Fixing artifact deletion
josenavas Feb 15, 2017
e941fa7
Adding default parameters to the commands
josenavas Feb 15, 2017
d6ebcb4
Fixing processing page
josenavas Feb 15, 2017
6ada2ba
Fixing variable name
josenavas Feb 15, 2017
22156ed
Analysis refactor GUI part2 (#2077)
josenavas Feb 15, 2017
e8ca9db
Changing bdiv metrics to single choice
josenavas Feb 15, 2017
6cdc574
Fixing patch
josenavas Feb 15, 2017
a77b040
Various small fixes to be able to run tests on the plugins
josenavas Mar 15, 2017
ff9eda9
Merging with master
josenavas Mar 15, 2017
6145976
Adding private module
josenavas Mar 15, 2017
7153efb
Fixing processing job completion
josenavas Mar 15, 2017
46dd73d
Fixing patch 52
josenavas Mar 16, 2017
08eafaa
Fixing call
josenavas Mar 16, 2017
b1a3e99
Fixing complete
josenavas Mar 17, 2017
c9580b7
small fixes
josenavas Mar 17, 2017
015dd41
Analysis refactor gui part3 (#2078)
josenavas Apr 24, 2017
85d4aa7
Solving merge conflicts
josenavas Apr 24, 2017
1ffa231
Solving merge conflicts
josenavas Apr 24, 2017
9e14cc6
Merge branch 'analysis-refactor-gui-part5' into analysis-refactor-gui…
josenavas Apr 24, 2017
4cd34d2
Merge branch 'analysis-refactor-gui-part6' into analysis-refactor-gui…
josenavas Apr 24, 2017
937b13f
Analysis refactor gui part4 (#2079)
josenavas Apr 24, 2017
f21d896
Analysis refactor gui part5 (#2115)
josenavas Apr 25, 2017
7cf4559
Analysis refactor gui part6 (#2116)
josenavas Apr 25, 2017
bf33527
Solving merge conflicts
josenavas Apr 25, 2017
3529556
Adding processing handlers
josenavas Apr 25, 2017
ca5a331
Fixing url and bug on processing job workflow
josenavas May 1, 2017
b934d68
Adding the private script runner
josenavas May 1, 2017
fa00d60
Adding is_analysis column to the command
josenavas May 1, 2017
b2ac959
Adding retrieval of commands excluding analysis commands
josenavas May 1, 2017
0326a63
Addressing bug on retrieving information from redis
josenavas May 1, 2017
cd6b61c
Enabling the command register endpoint to provide if the command is a…
josenavas May 4, 2017
cccb1d4
Addressing @antgonza's comments
josenavas May 16, 2017
0a584f3
Addressing @wasade's comments
josenavas May 16, 2017
a33d14f
Supporting multiple choice
josenavas May 17, 2017
66986ab
Adding documentation
josenavas May 17, 2017
39a03e3
Analysis refactor gui part7 (#2117)
josenavas May 17, 2017
3e36212
Modifying handler to pass allow_change_optionals
josenavas May 22, 2017
e04d03d
Solving merge conflicts
josenavas May 22, 2017
dc3a51e
returning optional parameters
josenavas May 22, 2017
12235a7
Addressing bug found by @antgonza
josenavas May 22, 2017
f5c5811
Enabling changing the default parameters
josenavas May 22, 2017
08554e1
Adding correct class
josenavas May 22, 2017
04a0c26
Allowing user to change default parameters
josenavas May 24, 2017
4330dae
Fixing bug with commands listing
josenavas May 24, 2017
4afa539
Enabling arbitrary htmls in the summary
josenavas May 31, 2017
6a0c7fc
Prepping for merge hell
josenavas May 31, 2017
b6c11b8
Fixing merge conflicts
josenavas May 31, 2017
3b8acdc
Addressing @wasade's comments
josenavas May 31, 2017
389ea9f
Merge branch 'analysis-refactor-allow-users-change-dflt-params' into …
josenavas May 31, 2017
bdf7cb1
Merge branch 'analysis-refactor-embed-html' into analysis-refactor-sy…
josenavas May 31, 2017
b06e8b2
Fixing qiita_db tests
josenavas May 31, 2017
3051113
Analysis refactor allow users change dflt params (#2136)
josenavas Jun 1, 2017
29b6acf
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
josenavas Jun 1, 2017
b35e07c
Addressing @antgonza's comment
josenavas Jun 1, 2017
8128120
Merge branch 'analysis-refactor-embed-html' into analysis-refactor-sy…
josenavas Jun 1, 2017
145218e
Merge branch 'analysis-refactor-sync-w-master' into analysis-refactor…
josenavas Jun 1, 2017
ac700fd
Solving a few more tests
josenavas Jun 1, 2017
2a1129a
Arbitrary summary HTML (#2138)
josenavas Jun 1, 2017
ddd50ad
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
josenavas Jun 1, 2017
8ffc409
Merge branch 'analysis-refactor-sync-w-master' into analysis-refactor…
josenavas Jun 1, 2017
f5cff17
Analysis refactor sync with master - DEPENDS ON #2138 (#2139)
josenavas Jun 1, 2017
7a52c69
Moving tests around and deleting unused code
josenavas Jun 1, 2017
490b89d
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
josenavas Jun 1, 2017
e7d31f2
Analysis refactor sync w master 2 (#2141)
josenavas Jun 1, 2017
6efe486
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
josenavas Jun 1, 2017
8d7ad00
Solving merge conflicts
josenavas Jun 1, 2017
054c890
Solving merge conflicts
josenavas Jun 1, 2017
5478cba
Deleting unused code
josenavas Jun 1, 2017
c0dc6bb
Fixing travis
josenavas Jun 1, 2017
a5f23bf
Flake8-ing
josenavas Jun 1, 2017
896a8e0
Fixing travis
josenavas Jun 2, 2017
abeb5f1
Removing unused code
josenavas Jun 2, 2017
1d575ef
Trying one thing on travis
josenavas Jun 2, 2017
afe6277
Trying one thing on travis
josenavas Jun 2, 2017
f74c903
Trying to debug
josenavas Jun 2, 2017
0f31b15
Still debugging
josenavas Jun 2, 2017
0f688fb
...
josenavas Jun 2, 2017
3ddabb5
Config biom plugin
josenavas Jun 2, 2017
6d514eb
Creating the dir
josenavas Jun 2, 2017
f3bbdd1
Speed up server by not building the docs
josenavas Jun 2, 2017
d390eaf
More playing with travis
josenavas Jun 2, 2017
378be52
Fixing config file
josenavas Jun 2, 2017
f8c190c
Trying with a diff conf file
josenavas Jun 5, 2017
fc4efd7
Fixing path
josenavas Jun 5, 2017
5243c07
Adding a print to see the error
josenavas Jun 5, 2017
387e99d
Adding another print
josenavas Jun 5, 2017
50f39fb
Removing debugging bits
josenavas Jun 5, 2017
860012b
Runnning webserver only if running tests
josenavas Jun 5, 2017
38ed835
Fixing last failing errors
josenavas Jun 6, 2017
be42417
Removing debugging bits
josenavas Jun 6, 2017
fcbfe61
Fixing tests
josenavas Jun 6, 2017
a659118
fixing config
josenavas Jun 8, 2017
857efc6
Fixing stochastic tests
josenavas Jun 12, 2017
bf2299e
Fixing tests (#2142)
josenavas Jun 13, 2017
c3409f2
Extending post test call to accept analysis
josenavas Jun 13, 2017
870a04d
Merge branch 'extending-artifact-apitest' of https://github.com/josen…
antgonza Jun 13, 2017
64c3c96
Extending post test call to accept analysis (#2144)
josenavas Jun 13, 2017
24905ff
some minor fixes
antgonza Jun 15, 2017
4caaec7
Merge pull request #2146 from antgonza/analysis-refactor-minor-fixes
josenavas Jun 16, 2017
25f399b
adding timer
antgonza Jun 16, 2017
66265df
nose-timer to pip command
antgonza Jun 16, 2017
4d95a80
nose-timer to pip command
antgonza Jun 16, 2017
47d54df
active_children test
antgonza Jun 16, 2017
304e2e4
improving study listing // artifact info
antgonza Jun 18, 2017
c97c34a
adding code to both list
antgonza Jun 18, 2017
82d9798
fix js length
antgonza Jun 18, 2017
4a5f898
300000
antgonza Jun 18, 2017
9eff24a
multiprocessing->active_children
antgonza Jun 19, 2017
c245c04
2400000
antgonza Jun 19, 2017
82751f6
600000
antgonza Jun 19, 2017
dce947e
Merge branch 'improving-tests' of https://github.com/antgonza/qiita i…
antgonza Jun 19, 2017
c2086b7
Trying to fix the tests
josenavas Jun 19, 2017
4b17051
Submit the job on commit
josenavas Jun 19, 2017
cec7ca4
Reverting last change
josenavas Jun 19, 2017
a03b641
Merge pull request #2147 from antgonza/improving-tests
josenavas Jun 19, 2017
ddd724a
improving sql and display
antgonza Jun 20, 2017
73dd5ca
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jun 20, 2017
c295635
improving sql
antgonza Jun 21, 2017
c239b5a
adding some of the requested improvements
antgonza Jun 21, 2017
2b405d9
addressing comments
antgonza Jun 22, 2017
736f347
addressing @ElDeveloper and @wasade comments
antgonza Jun 23, 2017
ccaa670
Merge branch 'master' of https://github.com/biocore/qiita into analys…
josenavas Jun 26, 2017
93f2d3d
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jun 26, 2017
d9efa28
Merge pull request #2155 from antgonza/fix-delete-sample-prep-analysi…
josenavas Jun 26, 2017
cc18c3c
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jun 26, 2017
faac8d3
Registering commands after updating plugins (#2156)
josenavas Jun 27, 2017
1c74b04
Adding codecov (#2157)
josenavas Jun 27, 2017
fd4a8d6
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jun 27, 2017
a7e3d8b
Expand html summary setter (#2150)
josenavas Jun 29, 2017
080be0f
Fix artifact type creation (#2158)
josenavas Jun 29, 2017
5572c0f
Adding qzv fileapth type (#2159)
josenavas Jun 30, 2017
86f7bbc
fixing tests
antgonza Jul 2, 2017
983d606
adding ORDER
antgonza Jul 3, 2017
cca49c3
to debug
antgonza Jul 3, 2017
581bbcd
splitting the plugin registration
antgonza Jul 4, 2017
37092a9
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jul 4, 2017
7327507
Merge pull request #2160 from antgonza/split-plugin-start
josenavas Jul 4, 2017
2112607
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jul 4, 2017
85f6ec7
Analysis refactor misc (#2161)
josenavas Jul 4, 2017
c1e468b
update upstream
antgonza Jul 4, 2017
26e4734
fix tests
antgonza Jul 4, 2017
98b293d
to debug
antgonza Jul 4, 2017
21f8858
improving delete speed (#2165)
antgonza Jul 7, 2017
561e837
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jul 7, 2017
4c91753
fix artifact summary issue (#2163)
antgonza Jul 7, 2017
65f741a
Merge branch 'analysis-refactor' of https://github.com/biocore/qiita …
antgonza Jul 7, 2017
03e9f55
fixing errors 1
antgonza Jul 8, 2017
2d53fea
missing ]
antgonza Jul 8, 2017
44ab61f
fix error
antgonza Jul 8, 2017
b114500
barcode_type 8, defaults
antgonza Jul 8, 2017
ab0e2f2
Merge pull request #2149 from antgonza/improving-artifact-info
josenavas Jul 9, 2017
9a378bc
WIP: using new info to merge bioms (#2167)
antgonza Jul 10, 2017
2294c3f
fix 55.py (#2168)
antgonza Jul 11, 2017
c8042c7
Fix analysis artifact name (#2169)
antgonza Jul 11, 2017
fe7879b
Improving analysis listing (#2170)
antgonza Jul 18, 2017
b0891a1
Improving analysis listing b (#2175)
antgonza Jul 20, 2017
e31e661
Fix branch (#2176)
antgonza Jul 20, 2017
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
39 changes: 29 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ env:
global:
- PYTHON_VERSION=2.7
matrix:
- TEST_ADD_STUDIES=False
- TEST_ADD_STUDIES=False COVER_PACKAGE=qiita_db
- TEST_ADD_STUDIES=False COVER_PACKAGE=qiita_pet
- TEST_ADD_STUDIES=False COVER_PACKAGE="qiita_core qiita_ware"
- TEST_ADD_STUDIES=True
before_install:
- redis-server --version
Expand All @@ -18,7 +20,9 @@ before_install:
- wget ftp://ftp.microbio.me/pub/qiita/ascp-install-3.5.4.102989-linux-64-qiita.sh -O ascp-install-3.5.4.102989-linux-64-qiita.sh
- chmod +x ascp-install-3.5.4.102989-linux-64-qiita.sh
- ./ascp-install-3.5.4.102989-linux-64-qiita.sh
- if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then openssl aes-256-cbc -K $encrypted_a2e23aea5f14_key -iv $encrypted_a2e23aea5f14_iv -in qiita_core/support_files/config_test_travis.cfg.enc -out qiita_core/support_files/config_test_travis.cfg -d ; fi
# once we have ebi testing we should uncomment this line
# look for EBI below as it's part of this
# - if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then openssl aes-256-cbc -K $encrypted_a2e23aea5f14_key -iv $encrypted_a2e23aea5f14_iv -in qiita_core/support_files/config_test_travis.cfg.enc -out qiita_core/support_files/config_test_travis.cfg -d ; fi
install:
# install a few of the dependencies that pip would otherwise try to install
# when intalling scikit-bio
Expand All @@ -27,22 +31,37 @@ install:
'pandas>=0.18' 'matplotlib>=1.1.0' 'scipy>0.13.0' 'numpy>=1.7' 'h5py>=2.3.1'
- source activate qiita
- pip install -U pip
- pip install sphinx sphinx-bootstrap-theme coveralls 'ipython[all]==2.4.1'
- pip install sphinx sphinx-bootstrap-theme 'ipython[all]==2.4.1' nose-timer codecov
- travis_retry pip install . --process-dependency-links
- 'echo "backend: Agg" > matplotlibrc'
script:
# Install the biom plugin so we can run the analysis tests
- pip install https://github.com/qiita-spots/qiita_client/archive/master.zip
- pip install https://github.com/qiita-spots/qtp-biom/archive/master.zip --process-dependency-links
- export QIITA_SERVER_CERT=`pwd`/qiita_core/support_files/server.crt
- mkdir ~/.qiita_plugins
- cp $PWD/qiita_core/support_files/BIOM\ type_2.1.4.conf ~/.qiita_plugins
before_script:
# Some of the tests rely on the plugin system to complete successfuly.
# Thus, we need a qiita webserver running to be able to execute the tests.
- export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg
- if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then
export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test_travis.cfg;
export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test_travis.cfg;
fi
# EBI, see the end of before_install about why this block is commented out
# - if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then
# export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test_travis.cfg;
# export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test_travis.cfg;
# fi
- ipython profile create qiita-general --parallel
- qiita-env start_cluster qiita-general
- qiita-env make --no-load-ontologies
- |
if [ ${TEST_ADD_STUDIES} == "False" ]; then
qiita pet webserver --no-build-docs start &
fi
script:
- sleep 5
- if [ ${TEST_ADD_STUDIES} == "True" ]; then test_data_studies/commands.sh ; fi
- if [ ${TEST_ADD_STUDIES} == "True" ]; then qiita-cron-job ; fi
- if [ ${TEST_ADD_STUDIES} == "False" ]; then qiita-test-install ; fi
- if [ ${TEST_ADD_STUDIES} == "False" ]; then nosetests --with-doctest --with-coverage -v --cover-package=qiita_db,qiita_pet,qiita_core,qiita_ware; fi
- if [ ${TEST_ADD_STUDIES} == "False" ]; then nosetests $COVER_PACKAGE --with-doctest --with-coverage --with-timer -v --cover-package=$COVER_PACKAGE; fi
- flake8 qiita_* setup.py scripts/*
- ls -R /home/travis/miniconda3/envs/qiita/lib/python2.7/site-packages/qiita_pet/support_files/doc/
- qiita pet webserver
Expand All @@ -52,4 +71,4 @@ services:
- redis-server
- postgresql
after_success:
- if [ ${TEST_ADD_STUDIES} == "False" ]; then coveralls ; fi
- if [ ${TEST_ADD_STUDIES} == "False" ]; then codecov ; fi
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ future.

.. |Build Status| image:: https://travis-ci.org/biocore/qiita.png?branch=master
:target: https://travis-ci.org/biocore/qiita
.. |Coverage Status| image:: https://coveralls.io/repos/biocore/qiita/badge.png?branch=master
:target: https://coveralls.io/r/biocore/qiita
.. |Coverage Status| image:: https://codecov.io/gh/biocore/qiita/branch/master/graph/badge.svg
:target: https://codecov.io/gh/biocore/qiita
.. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg
:target: https://gitter.im/biocore/qiita?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
13 changes: 13 additions & 0 deletions qiita_core/support_files/BIOM type_2.1.4.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[main]
NAME = BIOM type
VERSION = 2.1.4
DESCRIPTION = The Biological Observation Matrix format
ENVIRONMENT_SCRIPT = source activate qtp-biom
START_SCRIPT = start_biom
PLUGIN_TYPE = artifact definition
PUBLICATIONS =

[oauth2]
SERVER_CERT = /home/travis/miniconda3/envs/qiita/lib/python2.7/site-packages/qiita_core/support_files/server.crt
CLIENT_ID = dHgaXDwq665ksFPqfIoD3Jt8KRXdSioTRa4lGa5mGDnz6JTIBf
CLIENT_SECRET = xqx61SD4M2EWbaS0WYv3H1nIemkvEAMIn16XMLjy5rTCqi7opCcWbfLINEwtV48bQ
8 changes: 4 additions & 4 deletions qiita_core/support_files/config_test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ LOG_DIR =
REQUIRE_APPROVAL = True

# Base URL: DO NOT ADD TRAILING SLASH
BASE_URL = https://localhost
BASE_URL = https://localhost:21174

# Download path files
UPLOAD_DATA_DIR = /tmp/
UPLOAD_DATA_DIR = /home/travis/miniconda3/envs/qiita/lib/python2.7/site-packages/qiita_db/support_files/test_data/uploads/

# Working directory path
WORKING_DIR = /tmp/
WORKING_DIR = /home/travis/miniconda3/envs/qiita/lib/python2.7/site-packages/qiita_db/support_files/test_data/working_dir/

# Maximum upload size (in Gb)
MAX_UPLOAD_SIZE = 100

# Path to the base directory where the data files are going to be stored
BASE_DATA_DIR =
BASE_DATA_DIR = /home/travis/miniconda3/envs/qiita/lib/python2.7/site-packages/qiita_db/support_files/test_data/

# Valid upload extension, comma separated. Empty for no uploads
VALID_UPLOAD_EXTENSION = fastq,fastq.gz,txt,tsv,sff,fna,qual
Expand Down
8 changes: 4 additions & 4 deletions qiita_core/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def wait_for_prep_information_job(prep_id, raise_if_none=True):
else:
redis_info = loads(r_client.get(job_id))
while redis_info['status_msg'] == 'Running':
sleep(0.05)
sleep(0.5)
redis_info = loads(r_client.get(job_id))
sleep(0.05)
sleep(0.5)


def wait_for_processing_job(job_id):
Expand All @@ -58,5 +58,5 @@ def wait_for_processing_job(job_id):
"""
job = ProcessingJob(job_id)
while job.status not in ('success', 'error'):
sleep(0.05)
sleep(0.5)
sleep(1.2)
sleep(1.2)
6 changes: 3 additions & 3 deletions qiita_db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import environment_manager
import exceptions
import investigation
import job
import logger
import meta_util
import ontology
Expand All @@ -27,11 +26,12 @@
import study
import user
import processing_job
import private

__version__ = "0.2.0-dev"

__all__ = ["analysis", "artifact", "base", "commands", "environment_manager",
"exceptions", "investigation", "job", "logger", "meta_util",
"exceptions", "investigation", "logger", "meta_util",
"ontology", "portal", "reference", "search",
"software", "sql_connection", "study", "user", "util",
"metadata_template", "processing_job"]
"metadata_template", "processing_job", "private"]
Loading