-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
104 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* @file PDB Europe Datasource | ||
* @author Paul Pillot <[email protected]> | ||
* @private | ||
*/ | ||
import Datasource from './datasource'; | ||
declare class PDBeDatasource extends Datasource { | ||
getUrl(src: string): string; | ||
getExt(src: string): string; | ||
} | ||
export default PDBeDatasource; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
/** | ||
* @file Cif Parser | ||
* @author Alexander Rose <[email protected]> | ||
* @author Paul Pillot <[email protected]> | ||
* @private | ||
*/ | ||
import StructureParser from './structure-parser'; | ||
declare class CifParser extends StructureParser { | ||
get type(): string; | ||
_parse(): void; | ||
get isBinary(): boolean; | ||
_parse(): Promise<void>; | ||
} | ||
export default CifParser; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* @file ChemComp Map | ||
* @author Paul Pillot <[email protected]> | ||
* @private | ||
*/ | ||
import Structure from "../structure/structure"; | ||
import { ResidueBonds } from "../structure/structure-utils"; | ||
interface ChemCompBonds { | ||
atom1: string[]; | ||
atom2: string[]; | ||
bondOrders: number[]; | ||
} | ||
declare class ChemCompMap { | ||
readonly structure: Structure; | ||
dict: { | ||
[resname: string]: { | ||
chemCompType: string; | ||
bonds?: ChemCompBonds; | ||
}; | ||
}; | ||
constructor(structure: Structure); | ||
add(resname: string, chemCompType: string, bonds?: ChemCompBonds): void; | ||
addBond(resname: string, atom1: string, atom2: string, bondOrder: number): void; | ||
getBonds(resname: string, atomList: number[]): ResidueBonds | undefined; | ||
} | ||
export default ChemCompMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @author Alexander Rose <[email protected]> | ||
* @private | ||
*/ | ||
import { Vector3, Box3, Geometry, BufferGeometry, Group } from 'three'; | ||
import { Vector3, Box3, BufferGeometry, Group } from 'three'; | ||
import { AtomPicker, SurfacePicker } from '../utils/picker'; | ||
import { ColormakerParameters } from '../color/colormaker'; | ||
import { Structure, Volume } from '../ngl'; | ||
|
@@ -63,7 +63,7 @@ declare class Surface { | |
* @return {undefined} | ||
*/ | ||
set(position: Float32Array, index: Uint32Array | Uint16Array | undefined, normal: Float32Array | undefined, color: Float32Array | undefined, atomindex: Int32Array | undefined, contour?: boolean): void; | ||
fromGeometry(geometry: Geometry | BufferGeometry | Group): void; | ||
fromGeometry(geometry: BufferGeometry | Group): void; | ||
getPosition(): Float32Array; | ||
getColor(params: ColormakerParameters & { | ||
scheme: string; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.