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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Malý
Molstar
Commits
e70a0add
Commit
e70a0add
authored
7 years ago
by
David Sehnal
Browse files
Options
Downloads
Patches
Plain Diff
encoder TODO
parent
d597f1e8
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
src/mol-io/writer/cif/encoder.ts
+5
-1
5 additions, 1 deletion
src/mol-io/writer/cif/encoder.ts
with
5 additions
and
1 deletion
src/mol-io/writer/cif/encoder.ts
+
5
−
1
View file @
e70a0add
...
...
@@ -14,7 +14,11 @@ import Encoder from '../encoder'
// TODO: add "repeat encoding"? [[1, 2], [1, 2], [1, 2]] --- Repeat ---> [[1, 2], 3]
// TODO: Add "higher level fields"? (i.e. generalization of repeat)
// TODO: Add tensor field definition
// TODO: align "data blocks" to 8 byte offsets
// TODO: align "data blocks" to 8 byte offsets for fast typed array windows? (prolly needs some testing if this is actually the case too)
// TODO: "parametric encoders"? Specify encoding as [{ param: 'value1', encoding1 }, { param: 'value2', encoding2 }]
// then the encoder can specify { param: 'value1' } and the correct encoding will be used.
// Use case: variable precision encoding for different fields.
// Perhaps implement this as parameter spaces...
export
const
enum
FieldType
{
Str
,
Int
,
Float
...
...
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