Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Molstar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Malý
Molstar
Commits
2b78d2df
Commit
2b78d2df
authored
6 years ago
by
Alexander Rose
Browse files
Options
Downloads
Patches
Plain Diff
ignore data-loci in getBoundingSphere
parent
517de96d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/mol-model/loci.ts
+3
-0
3 additions, 0 deletions
src/mol-model/loci.ts
src/mol-plugin/behavior/dynamic/custom-props/rcsb/assembly-symmetry.ts
+0
-1
0 additions, 1 deletion
...n/behavior/dynamic/custom-props/rcsb/assembly-symmetry.ts
with
3 additions
and
1 deletion
src/mol-model/loci.ts
+
3
−
0
View file @
2b78d2df
...
@@ -118,6 +118,9 @@ namespace Loci {
...
@@ -118,6 +118,9 @@ namespace Loci {
}
else
if
(
loci
.
kind
===
'
group-loci
'
)
{
}
else
if
(
loci
.
kind
===
'
group-loci
'
)
{
// TODO
// TODO
return
void
0
;
return
void
0
;
}
else
if
(
loci
.
kind
===
'
data-loci
'
)
{
// TODO maybe add loci.getBoundingSphere()???
return
void
0
;
}
}
return
Sphere3D
.
create
(
Vec3
.
clone
(
sphereHelper
.
center
),
Math
.
sqrt
(
sphereHelper
.
radiusSq
));
return
Sphere3D
.
create
(
Vec3
.
clone
(
sphereHelper
.
center
),
Math
.
sqrt
(
sphereHelper
.
radiusSq
));
...
...
This diff is collapsed.
Click to expand it.
src/mol-plugin/behavior/dynamic/custom-props/rcsb/assembly-symmetry.ts
+
0
−
1
View file @
2b78d2df
...
@@ -65,7 +65,6 @@ function labelAssemblySymmetryAxes(loci: Loci): string | undefined {
...
@@ -65,7 +65,6 @@ function labelAssemblySymmetryAxes(loci: Loci): string | undefined {
labels
.
push
(
`Axis of order
${
axis
.
order
.
value
(
v
)}
for
${
symmetry
.
kind
}
${
symmetry
.
type
.
toLowerCase
()}
symmetry`
)
labels
.
push
(
`Axis of order
${
axis
.
order
.
value
(
v
)}
for
${
symmetry
.
kind
}
${
symmetry
.
type
.
toLowerCase
()}
symmetry`
)
}
}
})
})
// labels.push(`Axis ${i + 1} for ${symmetry.kind} ${symmetry.type.toLowerCase()} symmetry`)
return
labels
.
length
?
labels
.
join
(
'
,
'
)
:
undefined
return
labels
.
length
?
labels
.
join
(
'
,
'
)
:
undefined
}
}
return
undefined
return
undefined
...
...
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