Skip to content

Commit

Permalink
Merge pull request #54 from Exabyte-io/feat/SOF-7195
Browse files Browse the repository at this point in the history
feat/SOF-7195: Add `isUsingMaterial` method to the application class
  • Loading branch information
seankwarren authored Jan 18, 2024
2 parents 53a4cfa + 3cf2920 commit 97595f7
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", "exabyteml"];
return materialUsingApplications.includes(this.name);
}
}

0 comments on commit 97595f7

Please sign in to comment.