Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MOSGUITO
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
João Sequeira
MOSGUITO
Commits
47fa31f7
Commit
47fa31f7
authored
3 years ago
by
iquasere
Browse files
Options
Downloads
Patches
Plain Diff
"download_uniprot" removes "diamond_database" customization
parent
9941d87e
Branches
development
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/NavSidebar.js
+6
-17
6 additions, 17 deletions
src/components/NavSidebar.js
src/pages/config.js
+14
-8
14 additions, 8 deletions
src/pages/config.js
with
20 additions
and
25 deletions
src/components/NavSidebar.js
+
6
−
17
View file @
47fa31f7
...
...
@@ -13,7 +13,7 @@ export const NavSidebar = () => {
const
[
isSidebarOpen
,
setIsSidebarOpen
]
=
useState
(
false
);
return
(
<
React
.
Fragment
>
<>
{
/* Sidebar Overlay */
}
<
div
onClick
=
{()
=>
setIsSidebarOpen
(
false
)}
...
...
@@ -95,15 +95,8 @@ export const NavSidebar = () => {
itemId
:
"
/MOSGUITO/proteomics-configuration
"
}
]
}
]}
/
>
<
div
className
=
"
absolute bottom-0 w-full my-8
"
>
<
Navigation
activeItemId
=
{
location
.
pathname
}
items
=
{[
{
},
{
title
:
"
Results
"
,
itemId
:
"
/MOSGUITO/results
"
,
elemBefore
:
()
=>
<
FaChartPie
/>
,
...
...
@@ -122,13 +115,9 @@ export const NavSidebar = () => {
}
]
}
]}
onSelect
=
{({
itemId
})
=>
{
history
.
push
(
itemId
);
}}
/
>
<
/div
>
]}
/
>
<
/div
>
<
/
React.Fragment
>
<
/
>
);
};
This diff is collapsed.
Click to expand it.
src/pages/config.js
+
14
−
8
View file @
47fa31f7
...
...
@@ -23,7 +23,7 @@ import {
keggcharterTaxaLevelOptions
,
recognizerDatabasesOptions
}
from
'
../utils/options
'
import
'
.
/.
./App.css
'
import
'
../App.css
'
import
{
DashboardLayout
}
from
"
../components/Layout
"
;
import
Accordion
from
"
../components/Accordion
"
;
...
...
@@ -159,19 +159,25 @@ const Main = ({ configData, onConfigChange }) => {
)
}
<LabelledTextField
label=
'
DIAMOND
database
'
value={configData.diamondDatabase}
onChange={(ev) => onConfigChange(
'
diamondDatabase
'
, ev.target.value)}
placeholder={defaultValues.diamondDatabase}
/>
<LabelledCheckbox
label=
'
Download
UniProt
'
checked={configData.downloadUniprot}
setChecked={(ev) => onConfigChange(
'
downloadUniprot
'
, ev.target.checked)}
/>
{
configData.downloadUniprot ? (
<></>
) : (
<LabelledTextField
label=
'
DIAMOND
database
'
value={configData.diamondDatabase}
onChange={(ev) => onConfigChange(
'
diamondDatabase
'
, ev.target.value)}
placeholder={defaultValues.diamondDatabase}
/>
)
}
<LabelledCheckbox
label=
'
Download
CDD
'
checked={configData.downloadCdd}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment