Skip to content

Resolve "System links and ASE atoms for results section"

The new to_ase function allows to conviniently generate an ASE Atoms object from a given section syst em based on the data in its atoms sub-section. Here is a simple example:

from nomad.client import ArchiveQuery

query = ArchiveQuery(
        'run': {
            'system[-1]': {
                'atoms': '*'

result =[0]
atoms =[0].system[-1].atoms.to_ase()


See also the discussion here:

#1074 (closed)

Edited by Markus Scheidgen

Merge request reports