Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 216
    • Issues 216
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-labnomad-lab
  • nomad-FAIRnomad-FAIR
  • Merge requests
  • !152

Structure.js component

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lauri Himanen requested to merge encyclopedia-gui-integration into v1.0.0 Aug 20, 2020
  • Overview 2
  • Commits 24
  • Pipelines 3
  • Changes 7

I created a React Structure.js component that supports viewing atomistic structures. It is now initially integrated into the ArchiveBrowser where it will show the structure for any section_system below the title.

You can check it in action at the development cluster, e.g. here In the context of the ArchiveBrowser the viewer tries to intelligently load new data:

  • There is only one shared instance of StructureViewer object from the materia-library.
  • If a new structure is loaded from the same archive, only the positions are updated. This is much faster than reloading the entire structure and should be a valid assumption since the number of atoms or their species should not change within an archive.
  • If more than 300 atoms (this is configurable) are present, the visualization is disabled and a message is displayed.
Edited Aug 20, 2020 by Markus Scheidgen
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: encyclopedia-gui-integration