File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
qiita_pet/templates/artifact_ajax Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1617,9 +1617,10 @@ def get_commands(self):
1617
1617
sql += " AND is_analysis = False"
1618
1618
# get the workflows that match this artifact so we can filter
1619
1619
# the available commands based on the commands in the worflows
1620
- # for that artifact
1621
- dws = [w for w in qdb .software .DefaultWorkflow .iter ()
1622
- if self .data_type in w .data_type ]
1620
+ # for that artifact - except is the artifact_type == 'BIOM'
1621
+ if self .artifact_type != 'BIOM' :
1622
+ dws = [w for w in qdb .software .DefaultWorkflow .iter ()
1623
+ if self .data_type in w .data_type ]
1623
1624
else :
1624
1625
sql += " AND is_analysis = True"
1625
1626
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ <h4 style="color: #FF2222;">This artifact is being deleted</h4>
143
143
144
144
{% if artifact_type == 'BIOM' and not is_from_analysis %}
145
145
< input type ="button " class ="btn btn-default btn-sm " value ="Add to Analysis " onclick ="send_samples_to_analysis(this, [{{artifact_id}}]); ">
146
+ < a class ="btn btn-default btn-sm " id ="process-btn "> < span class ="glyphicon glyphicon-play "> </ span > Process</ a >
146
147
{% elif artifact_type != 'job-output-folder' %}
147
148
< a class ="btn btn-default btn-sm " id ="process-btn "> < span class ="glyphicon glyphicon-play "> </ span > Process</ a >
148
149
{% end %}
You can’t perform that action at this time.
0 commit comments