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):
16171617 sql += " AND is_analysis = False"
16181618 # get the workflows that match this artifact so we can filter
16191619 # 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 ]
16231624 else :
16241625 sql += " AND is_analysis = True"
16251626
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ <h4 style="color: #FF2222;">This artifact is being deleted</h4>
143143
144144 {% if artifact_type == 'BIOM' and not is_from_analysis %}
145145 < 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 >
146147 {% elif artifact_type != 'job-output-folder' %}
147148 < a class ="btn btn-default btn-sm " id ="process-btn "> < span class ="glyphicon glyphicon-play "> </ span > Process</ a >
148149 {% end %}
You can’t perform that action at this time.
0 commit comments