Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix: first model is model index 0
  • Loading branch information
josemduarte committed Feb 22, 2025
commit 324319e20d5c2ffcbe8b2d10189e369b590a34aa
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public AsaCalculator(Structure structure, double probe, int nSpherePoints, int n
* NACCESS' -h option
*/
public AsaCalculator(Structure structure, double probe, int nSpherePoints, int nThreads, boolean hetAtoms) {
this.atoms = StructureTools.getAllNonHAtomArray(structure, hetAtoms, 1);
this.atoms = StructureTools.getAllNonHAtomArray(structure, hetAtoms, 0);
this.atomCoords = Calc.atomsToPoints(atoms);
this.probe = probe;
this.nThreads = nThreads;
Expand Down