Skip to content

Analysis refactor gui part5 #2115

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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
3601c29
fix #1505
antgonza Jan 2, 2017
0d6788e
improving some GUI stuff
antgonza Jan 3, 2017
12406cc
improving some GUI stuff - missing lines
antgonza Jan 3, 2017
958fcbe
pull upstream master
antgonza Jan 4, 2017
a57ef23
addressing all comments
antgonza Jan 5, 2017
2ead7a6
ready for review
antgonza Jan 5, 2017
73a78e7
fix #1987
antgonza Jan 16, 2017
e64a22a
Merge pull request #2036 from antgonza/fix-1505
josenavas Jan 16, 2017
0dcae8b
Merge pull request #2047 from antgonza/fix-1987
josenavas Jan 17, 2017
4a5bbbc
initial commit
antgonza Jan 18, 2017
f99975c
requested changes
antgonza Jan 18, 2017
ed899a8
Merge pull request #2049 from antgonza/add-processing-suggestions
josenavas Jan 18, 2017
d508320
fix filter job list
antgonza Jan 18, 2017
025cc1e
Merge pull request #2050 from antgonza/fix-filter-job-list
josenavas Jan 18, 2017
599bcde
Fixing server cert (#2051)
josenavas Jan 19, 2017
d12ccfe
fix get_studies
antgonza Jan 20, 2017
b33983b
flake8
antgonza Jan 20, 2017
b4f1b1f
fix #503
antgonza Jan 20, 2017
62a1b93
fix #2010
antgonza Jan 20, 2017
2e36141
fix #1913
antgonza Jan 21, 2017
e006e20
fix errors
antgonza Jan 21, 2017
c174693
Merge pull request #2052 from antgonza/fix-get_studies
josenavas Jan 23, 2017
131dd6a
Merge pull request #2053 from antgonza/fix-by-blinking
josenavas Jan 23, 2017
ccb55bd
addressing @josenavas comment
antgonza Jan 24, 2017
dfe2e83
flake8
antgonza Jan 24, 2017
15fcceb
Merge pull request #2056 from antgonza/fix-1913
josenavas Jan 24, 2017
7f97f2a
fix #1010
antgonza Jan 26, 2017
9eb9dbb
fix #1066 (#2058)
antgonza Jan 26, 2017
23104d7
addressing @josenavas comments
antgonza Jan 27, 2017
1f1e826
fix #1961
antgonza Jan 27, 2017
19a9dda
fix #1837
antgonza Jan 27, 2017
19889f9
Automatic jobs & new stats (#2057)
antgonza Jan 27, 2017
4e380e0
Merge pull request #2060 from antgonza/fix-1961
wasade Jan 28, 2017
6f0dd71
generalizing this functionality
antgonza Jan 28, 2017
ed9fc65
fix #1816
antgonza Jan 29, 2017
4b19b45
fix #1959
antgonza Jan 30, 2017
d9b41e8
addressing @josenavas comments
antgonza Feb 1, 2017
5ef06ae
addressing @josenavas comments
antgonza Feb 2, 2017
5e3504a
fixing error
antgonza Feb 2, 2017
d10096a
Merge branch 'master' of https://github.com/biocore/qiita into fix-1010
antgonza Feb 2, 2017
661342f
fixed?
antgonza Feb 2, 2017
fcd249b
addressing @josenavas comments
antgonza Feb 3, 2017
f3c1216
Merge pull request #2063 from antgonza/fix-1816
josenavas Feb 3, 2017
a91a6fd
Merge pull request #2064 from antgonza/fix-1959
tanaes Feb 3, 2017
7b9fa6f
addressing @wasade comments
antgonza Feb 3, 2017
33bcbe5
Merge pull request #2059 from antgonza/fix-1010
josenavas Feb 3, 2017
5e4bd9b
Merge branch 'master' of https://github.com/biocore/qiita into fix-1837
antgonza Feb 3, 2017
8bf3d6e
fix flake8
antgonza Feb 3, 2017
7807bac
Merge pull request #2061 from antgonza/fix-1837
josenavas Feb 3, 2017
6360675
generate biom and metadata release (#2066)
antgonza Feb 3, 2017
811b7a7
database changes to fix 969
antgonza Feb 3, 2017
751d4ad
adding delete
antgonza Feb 3, 2017
65a86df
addressing @josenavas comments
antgonza Feb 3, 2017
b1817dd
addressing @ElDeveloper comments
antgonza Feb 4, 2017
18d77e1
duh!
antgonza Feb 4, 2017
01c656c
Merge pull request #2071 from antgonza/fix-969-db
josenavas Feb 6, 2017
53188a6
fix generate_biom_and_metadata_release (#2072)
antgonza Feb 7, 2017
1ab4e3b
Fixing merge conflicts with master
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
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
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
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
85d4aa7
Solving merge conflicts
josenavas Apr 24, 2017
1ffa231
Solving merge conflicts
josenavas Apr 24, 2017
6a7ef8d
Fixing merge conflicts
josenavas Apr 24, 2017
44e80c9
Addressing @antgonza's comments
josenavas Apr 24, 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
4 changes: 3 additions & 1 deletion qiita_db/handlers/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def get(self, artifact_id):
with qdb.sql_connection.TRN:
artifact = _get_artifact(artifact_id)
study = artifact.study
analysis = artifact.analysis
response = {
'name': artifact.name,
'timestamp': str(artifact.timestamp),
Expand All @@ -90,7 +91,8 @@ def get(self, artifact_id):
'can_be_submitted_to_vamps':
artifact.can_be_submitted_to_vamps,
'prep_information': [p.id for p in artifact.prep_templates],
'study': study.id if study else None}
'study': study.id if study else None,
'analysis': analysis.id if analysis else None}
params = artifact.processing_parameters
response['processing_parameters'] = (
params.values if params is not None else None)
Expand Down
26 changes: 26 additions & 0 deletions qiita_db/handlers/tests/test_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,36 @@ def test_get_artifact(self):
'is_submitted_to_vamps': None,
'prep_information': [1],
'study': 1,
'analysis': None,
'processing_parameters': None,
'files': exp_fps}
self.assertEqual(loads(obs.body), exp)

obs = self.get('/qiita_db/artifacts/9/', headers=self.header)
self.assertEqual(obs.code, 200)
db_test_raw_dir = qdb.util.get_mountpoint('analysis')[0][1]
path_builder = partial(join, db_test_raw_dir)
exp_fps = {"biom": [path_builder('1_analysis_18S.biom')]}
exp = {
'name': 'noname',
'visibility': 'sandbox',
'type': 'BIOM',
'data_type': '18S',
'can_be_submitted_to_ebi': False,
'ebi_run_accessions': None,
'can_be_submitted_to_vamps': False,
'is_submitted_to_vamps': None,
'prep_information': [],
'study': None,
'analysis': 1,
'processing_parameters': {'biom_table': 8, 'depth': 9000,
'subsample_multinomial': False},
'files': exp_fps}
obs = loads(obs.body)
# The timestamp is genreated at patch time, so we can't check for it
del obs['timestamp']
self.assertEqual(obs, exp)

def test_patch(self):
arguments = {'op': 'add', 'path': '/html_summary/',
'value': self.html_fp}
Expand Down
67 changes: 64 additions & 3 deletions qiita_db/support_files/patches/python_patches/51.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
# 3) Transfer all the data in the old structures to the plugin structures
# 4) Delete old structures

from string import ascii_letters, digits
from random import SystemRandom
from os.path import join, exists, basename
from os import makedirs
from json import loads
Expand All @@ -24,6 +26,24 @@
# trasnfer the data from the old structure to the new one


def get_random_string(length):
"""Creates a random string of the given length with alphanumeric chars

Parameters
----------
length : int
The desired length of the string

Returns
-------
str
The new random string
"""
sr = SystemRandom()
chars = ascii_letters + digits
return ''.join(sr.choice(chars) for i in range(length))


def create_non_rarefied_biom_artifact(analysis, biom_data, rarefied_table):
"""Creates the initial non-rarefied BIOM artifact of the analysis

Expand Down Expand Up @@ -95,6 +115,7 @@ def create_non_rarefied_biom_artifact(analysis, biom_data, rarefied_table):
TRN.add(sql, [analysis['timestamp'], biom_data['data_type_id'],
4, 7, False])
artifact_id = TRN.execute_fetchlast()

# Associate the artifact with the analysis
sql = """INSERT INTO qiita.analysis_artifact
(analysis_id, artifact_id)
Expand Down Expand Up @@ -398,6 +419,9 @@ def transfer_job(analysis, command_id, params, input_artifact_id, job_data,
VALUES (%s, %s, %s, %s)"""
sql_args = [(validate_cmd_id, 'files', 'string', True),
(validate_cmd_id, 'artifact_type', 'string', True),
(validate_cmd_id, 'template', 'prep_template', False),
(validate_cmd_id, 'analysis', 'analysis', False),
(validate_cmd_id, 'provenance', 'string', False),
(html_summary_cmd_id, 'input_data', 'artifact', True)]
TRN.add(sql, sql_args, many=True)

Expand Down Expand Up @@ -445,6 +469,18 @@ def transfer_job(analysis, command_id, params, input_artifact_id, job_data,
['taxa_summary', 'taxa_summary', True, True]]
TRN.add(sql, sql_args, many=True)

# Step 8: Give a new client id/client secret pair to the plugins
sql = """INSERT INTO qiita.oauth_identifiers (client_id, client_secret)
VALUES (%s, %s)"""
# Each plugin needs a client id/secret pair, so we are generating it here
# at random
client_id = get_random_string(50)
client_secret = get_random_string(255)
TRN.add(sql, [client_id, client_secret])
sql = """INSERT INTO qiita.oauth_software (client_id, software_id)
VALUES (%s, %s)"""
TRN.add(sql, [client_id, divtype_id])

# Create the new commands that execute the current analyses. In qiita,
# the only commands that where available are Summarize Taxa, Beta
# Diversity and Alpha Rarefaction. The system was executing rarefaction
Expand Down Expand Up @@ -491,8 +527,8 @@ def transfer_job(analysis, command_id, params, input_artifact_id, job_data,
(sum_taxa_cmd_id, 'sort', 'bool', False, 'False'),
# Beta Diversity
(bdiv_cmd_id, 'tree', 'string', False, ''),
(bdiv_cmd_id, 'metrics',
'mchoice:["abund_jaccard","binary_chisq","binary_chord",'
(bdiv_cmd_id, 'metric',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry missed this one in my previous review: Is this change intentional? The actual parameter for that command is: metrics

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is intentional, I'm making the command in Qiita to be per-metric based as this will be easier to show the results

'choice:["abund_jaccard","binary_chisq","binary_chord",'
'"binary_euclidean","binary_hamming","binary_jaccard",'
'"binary_lennon","binary_ochiai","binary_otu_gain","binary_pearson",'
'"binary_sorensen_dice","bray_curtis","bray_curtis_faith",'
Expand All @@ -501,12 +537,21 @@ def transfer_job(analysis, command_id, params, input_artifact_id, job_data,
'"pearson","soergel","spearman_approx","specprof","unifrac",'
'"unifrac_g","unifrac_g_full_tree","unweighted_unifrac",'
'"unweighted_unifrac_full_tree","weighted_normalized_unifrac",'
'"weighted_unifrac"]', False, '["binary_jaccard","bray_curtis"]'),
'"weighted_unifrac"]', False, '"binary_jaccard"'),
# Alpha rarefaction
(arare_cmd_id, 'tree', 'string', False, ''),
(arare_cmd_id, 'num_steps', 'integer', False, 10),
(arare_cmd_id, 'min_rare_depth', 'integer', False, 10),
(arare_cmd_id, 'max_rare_depth', 'integer', False, 'Default'),
(arare_cmd_id, 'metrics',
'mchoice:["ace","berger_parker_d","brillouin_d","chao1","chao1_ci",'
'"dominance","doubles","enspie","equitability","esty_ci",'
'"fisher_alpha","gini_index","goods_coverage","heip_e",'
'"kempton_taylor_q","margalef","mcintosh_d","mcintosh_e",'
'"menhinick","michaelis_menten_fit","observed_otus",'
'"observed_species","osd","simpson_reciprocal","robbins",'
'"shannon","simpson","simpson_e","singles","strong","PD_whole_tree"]',
False, '["chao1","observed_otus"]'),
# Single rarefaction
(srare_cmd_id, 'depth', 'integer', True, None),
(srare_cmd_id, 'subsample_multinomial', 'bool', False, 'False')
Expand Down Expand Up @@ -553,6 +598,22 @@ def transfer_job(analysis, command_id, params, input_artifact_id, job_data,
TRN.add(sql, ['rarefied_table', srare_cmd_id, biom_atype_id])
srare_cmd_out_id = TRN.execute_fetchlast()

# Step 6: Add default parameter sets
sql = """INSERT INTO qiita.default_parameter_set
(command_id, parameter_set_name, parameter_set)
VALUES (%s, %s, %s)"""
sql_args = [
[sum_taxa_cmd_id, 'Defaults',
'{"sort": false, "metadata_category": ""}'],
[bdiv_cmd_id, 'Unweighted UniFrac',
'{"metrics": "unweighted_unifrac", "tree": ""}'],
[arare_cmd_id, 'Defaults',
'{"max_rare_depth": "Default", "tree": "", "num_steps": 10, '
'"min_rare_depth": 10, "metrics": ["chao1", "observed_otus"]}'],
[srare_cmd_id, 'Defaults',
'{"subsample_multinomial": "False"}']]
TRN.add(sql, sql_args, many=True)

# At this point we are ready to start transferring the data from the old
# structures to the new structures. Overview of the procedure:
# Step 1: Add initial set of artifacts up to rarefied table
Expand Down
Binary file modified qiita_db/support_files/test_data/analysis/1_analysis_18S.biom
Binary file not shown.
3 changes: 2 additions & 1 deletion qiita_pet/handlers/artifact_handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
# -----------------------------------------------------------------------------

from .base_handlers import ArtifactSummaryAJAX, ArtifactAJAX
from .process_handlers import ProcessArtifactHandler

__all__ = ['ArtifactSummaryAJAX', 'ArtifactAJAX']
__all__ = ['ArtifactSummaryAJAX', 'ArtifactAJAX', 'ProcessArtifactHandler']
52 changes: 39 additions & 13 deletions qiita_pet/templates/analysis_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,28 @@
location.reload();
}

function reload_UI_post_workflow_submission(artifact_id) {
$("#processing-content-div").hide();
$("#processing-content-div").html("");
$("#analysis-content-div").show();
populateContentArtifact(artifact_id);
}

function load_process_artifact_ui(artifact_id) {
$("#analysis-content-div").hide()
$("#processing-content-div").show()
show_loading('{% raw qiita_config.portal_dir %}', 'processing-content-div');
$.get('{% raw qiita_config.portal_dir %}/artifact/' + artifact_id + '/process/', function(data){
$("#processing-content-div").html(data);
})
.fail(function(object, status, error_msg) {
bootstrapAlert("Error loading processing page: " + status + " " + object.statusText, "danger");
$("#analysis-content-div").show()
$("#processing-content-div").hide()
}
)
};

/**
* Creates the HTML with the job information and adds it to `target`
*
Expand Down Expand Up @@ -193,6 +215,7 @@

// Add the vue object to the div, so we avoid to have global variables
$("#analysis-network-div").data('data-graph-vue', vueGraph);
$("processing-content-div").hide();
{% if alert_msg %}
bootstrapAlert("{{alert_msg}}", "{{alert_type}}");
{% end %}
Expand All @@ -214,22 +237,25 @@ <h2>{{analysis_name}} - ID {{analysis_id}}</h2>
<h3>{{analysis_description}}</h3>
</div>
</div>
<div class="row">
<div class="col">
<h4><a class="btn btn-info" id="show-hide-network-btn" onclick="toggle_network_graph();">-</a><i> Processing network</i></h4>
<b>(Click nodes for more information, blue are jobs)</b>
<div class="row" id='analysis-content-div'>
<div class="row">
<div class="col">
<h4><a class="btn btn-info" id="show-hide-network-btn" onclick="toggle_network_graph();">-</a><i> Processing network</i></h4>
<b>(Click nodes for more information, blue are jobs)</b>
</div>
</div>
</div>
<div class='row' id="analysis-graph-vue">
<analysis-graph></analysis-graph>
</div>
<div class='row'>
<div class='col-md-12' style='width:90%' id='analysis-job-div'>
<div class='row' id="analysis-graph-vue">
<analysis-graph></analysis-graph>
</div>
</div>
<div class='row'>
<div class='col-md-12' style='width:90%' id='analysis-results'>
<div class='row'>
<div class='col-md-12' style='width:90%' id='analysis-job-div'>
</div>
</div>
<div class='row'>
<div class='col-md-12' style='width:90%' id='analysis-results'>
</div>
</div>
</div>
<div class="row" id='processing-content-div'></div>

{% end %}
2 changes: 1 addition & 1 deletion qiita_pet/templates/artifact_ajax/artifact_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h4>
<i id='summary-title'>{{name}}</i><i> (ID: {{artifact_id}}) Visibility: {{visibility}}</i>
{% if editable %}
<a class="btn btn-default btn-sm" data-toggle="modal" data-target="#update-artifact-name"><span class="glyphicon glyphicon-pencil"></span> Edit</a>
<a class="btn btn-default btn-sm" onclick="populate_main_div('{% raw qiita_config.portal_dir %}/study/process/', {artifact_id: {{artifact_id}} });"><span class="glyphicon glyphicon-play"></span> Process</a>
<a class="btn btn-default btn-sm" onclick="load_process_artifact_ui({{artifact_id}});"><span class="glyphicon glyphicon-play"></span> Process</a>
<a class="btn btn-danger btn-sm" onclick="if (confirm('Are you sure you want to delete artifact {{artifact_id}}?')){ delete_artifact({{artifact_id}}) };"><span class="glyphicon glyphicon-trash"></span> Delete</a>
{% raw buttons %}
{% end %}
Expand Down
4 changes: 4 additions & 0 deletions qiita_pet/templates/study_ajax/prep_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
populate_main_div('{% raw qiita_config.portal_dir %}/study/description/prep_template/', { prep_id: {{prep_id}}, study_id: {{study_id}} });
};

function load_process_artifact_ui(artifact_id) {
populate_main_div('{% raw qiita_config.portal_dir %}/study/process/', {artifact_id: artifact_id });
};

/*
* Function to draw a vis.Network
*
Expand Down
5 changes: 5 additions & 0 deletions qiita_pet/templates/study_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
<link rel="stylesheet" src="{% raw qiita_config.portal_dir %}/static/vendor/css/vis-network.min.css" type="text/css">
<script type="text/javascript" src="{% raw qiita_config.portal_dir %}/static/vendor/js/vis.min.js"></script>
<script type="text/javascript">

function reload_UI_post_workflow_submission(artifact_id) {
populate_main_div('{% raw qiita_config.portal_dir %}/study/description/baseinfo/', { study_id: {{study_info['study_id']}} });
}

var network = null;
// Track what prep template is currently being shown.
var curr_prep = -1;
Expand Down
6 changes: 3 additions & 3 deletions qiita_pet/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
StudyEditHandler, ListStudiesHandler, SearchStudiesAJAX, EBISubmitHandler,
CreateStudyAJAX, ShareStudyAJAX, StudyApprovalList, ArtifactGraphAJAX,
VAMPSHandler, PrepTemplateGraphAJAX,
ProcessArtifactHandler, ListCommandsHandler, ListOptionsHandler,
ListCommandsHandler, ListOptionsHandler,
PrepTemplateAJAX, NewArtifactHandler, SampleAJAX,
StudyDeleteAjax, ArtifactAdminAJAX,
NewPrepTemplateAjax, DataTypesMenuAJAX, StudyFilesAJAX,
PrepTemplateSummaryAJAX,
WorkflowHandler, WorkflowRunHandler, JobAJAX, AutocompleteHandler)
from qiita_pet.handlers.artifact_handlers import (
ArtifactSummaryAJAX, ArtifactAJAX)
ArtifactSummaryAJAX, ArtifactAJAX, ProcessArtifactHandler)
from qiita_pet.handlers.websocket_handlers import (
MessageHandler, SelectedSocketHandler, SelectSamplesHandler)
from qiita_pet.handlers.logger_handlers import LogEntryViewerHandler
Expand Down Expand Up @@ -118,7 +118,6 @@ def __init__(self):
(r"/study/process/workflow/run/", WorkflowRunHandler),
(r"/study/process/workflow/", WorkflowHandler),
(r"/study/process/job/", JobAJAX),
(r"/study/process/", ProcessArtifactHandler),
(r"/study/list/socket/", SelectSamplesHandler),
(r"/study/search/(.*)", SearchStudiesAJAX),
(r"/study/new_artifact/", NewArtifactHandler),
Expand All @@ -130,6 +129,7 @@ def __init__(self):
# Artifact handlers
(r"/artifact/graph/", ArtifactGraphAJAX),
(r"/artifact/(.*)/summary/", ArtifactSummaryAJAX),
(r"/artifact/(.*)/process/", ProcessArtifactHandler),
(r"/artifact/(.*)/", ArtifactAJAX),
(r"/prep_template/", PrepTemplateHandler),
(r"/ontology/", OntologyHandler),
Expand Down