Skip to content

Commit

Permalink
Merge pull request #25 from Exabyte-io/chore/SOF-6970-2
Browse files Browse the repository at this point in the history
chore/SOF-6970-2
  • Loading branch information
timurbazhirov authored Sep 14, 2023
2 parents dc6085a + 80278d1 commit 840ff71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/methods/pseudopotential.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class PseudopotentialMethod extends Method {
*/
setPseudopotentialPerElement(pseudo) {
if (!pseudo) {
this.setPseudopotentials([]);
return;
}
const arr = this.pseudopotentials.filter((x) => x.element !== pseudo.element);
Expand Down

0 comments on commit 840ff71

Please sign in to comment.