molstar
Version:
A comprehensive macromolecular library.
20 lines (19 loc) • 668 B
TypeScript
/**
* Copyright (c) 2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { Column } from '../../../mol-data/db';
import { Task } from '../../../mol-task';
import { ReaderResult as Result } from '../result';
export interface XyzFile {
readonly molecules: {
readonly comment: string;
readonly count: number;
readonly x: Column<number>;
readonly y: Column<number>;
readonly z: Column<number>;
readonly type_symbol: Column<string>;
}[];
}
export declare function parseXyz(data: string): Task<Result<XyzFile>>;