Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chromoskein
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Visitlab
Chromatin
chromoskein
Commits
714d7875
There was an error fetching the commit references. Please try again later.
Commit
714d7875
authored
3 years ago
by
kiraacorsac
Browse files
Options
Downloads
Patches
Plain Diff
NewXYZDataDialog: fix bug when resolution untouched
parent
b1691d08
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/components/dialogs/NewXYZDataDialog.tsx
+2
-2
2 additions, 2 deletions
app/src/components/dialogs/NewXYZDataDialog.tsx
with
2 additions
and
2 deletions
app/src/components/dialogs/NewXYZDataDialog.tsx
+
2
−
2
View file @
714d7875
...
...
@@ -25,7 +25,7 @@ export function NewXYZDataDialog(props: {
const
[
parseConfiguration
,
setParseConfiguration
]
=
useState
<
ParseConfiguration
>
({
type
:
FileType
.
PDB
});
const
[
selectedColumns
,
setSelectedColumns
]
=
useState
<
Array
<
string
|
number
>>
([]);
const
[
basePairsResolution
,
setBasePairsResolution
]
=
useState
(
0
);
const
[
basePairsResolution
,
setBasePairsResolution
]
=
useState
(
100
0
);
// (Re-)Parse the files when new ones are uploaded or the parse configuration changed
useEffect
(()
=>
{
...
...
@@ -188,7 +188,7 @@ export function NewXYZDataDialog(props: {
}
<
SpinButton
label
=
"Base pairs resolution"
defaultValue
=
"1000"
defaultValue
=
{
`
${
basePairsResolution
}
`
}
min
=
{
0
}
max
=
{
1000000
}
step
=
{
1000
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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