Skip to content

Commit

Permalink
feat: Add isUsingMaterial method to the application class
Browse files Browse the repository at this point in the history
  • Loading branch information
seankwarren committed Jan 4, 2024
1 parent 4227b79 commit 5fce510
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,9 @@ export class Application extends NamedDefaultableInMemoryEntity {
get isLicensed() {
return this.prop("isLicensed");
}

get isUsingMaterial() {
const materialUsingApplications = ["vasp", "nwchem", "espresso"];
return materialUsingApplications.includes(this.name);
}
}

0 comments on commit 5fce510

Please sign in to comment.