Fix minor comments

This commit is contained in:
Anup Kumar
2020-03-19 12:33:06 +01:00
parent 5e5e9cd46c
commit eb70313708
3 changed files with 5 additions and 5 deletions
@@ -1,6 +1,6 @@
<template>
<div id="tool-recommendation" class="tool-recommendation-view">
<div v-if="deprecated == false" class="infomessagelarge">
<div v-if="!deprecated" class="infomessagelarge">
<h4>Tool recommendation</h4>
You have used {{ getToolId }} tool. For further analysis, you could try using the following/recommended
tools. The recommended tools are shown in the decreasing order of their scores predicted using machine
@@ -8,7 +8,7 @@
tool than a tool with a lower score. Please click on one of the following/recommended tools to open its
definition.
</div>
<div v-if="deprecated == true" class="warningmessagelarge">
<div v-else-if="deprecated" class="warningmessagelarge">
You have used {{ getToolId }} tool. {{ deprecatedMessage }}
</div>
</div>
@@ -105,7 +105,7 @@ export default {
});
});
},
renderD3Tree: predictedTools => {
renderD3Tree(predictedTools) {
const duration = 750;
const x = 620;
const y = 260;
+2 -2
View File
@@ -26,7 +26,7 @@ from galaxy.managers import (
from galaxy.managers.jobs import fetch_job_states, invocation_job_source_iter
from galaxy.model.item_attrs import UsesAnnotations
from galaxy.tool_shed.galaxy_install.install_manager import InstallRepositoryManager
from galaxy.tools import tool_recommendations
from galaxy.tools import recommendations
from galaxy.tools.parameters import populate_state
from galaxy.tools.parameters.basic import workflow_building_modes
from galaxy.util.sanitize_html import sanitize_html
@@ -58,7 +58,7 @@ class WorkflowsAPIController(BaseAPIController, UsesStoredWorkflowMixin, UsesAnn
self.history_manager = histories.HistoryManager(app)
self.workflow_manager = workflows.WorkflowsManager(app)
self.workflow_contents_manager = workflows.WorkflowContentsManager(app)
self.tool_recommendations = tool_recommendations.ToolRecommendations()
self.tool_recommendations = recommendations.ToolRecommendations()
def __get_full_shed_url(self, url):
for name, shed_url in self.app.tool_shed_registry.tool_sheds.items():