Skip to content

SOF-7813: update esse types - #71

Merged
timurbazhirov merged 22 commits into
mainfrom
chore/SOF-7813
May 28, 2026
Merged

SOF-7813: update esse types#71
timurbazhirov merged 22 commits into
mainfrom
chore/SOF-7813

Conversation

@k0stik

@k0stik k0stik commented Jan 26, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment thread src/js/methods/pseudopotential.ts Outdated

// sorting pseudos, this is very hacky! TODO: find better approach for default pseudos per application
pseudos = PseudopotentialMetaProperty.sortPseudosByPattern(pseudos);
pseudos = PseudopotentialMetaProperty.sortByPathVASP(pseudos);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not know about VASP - we can have something like sortByPathApplicationSpecific(pseudos, appName) inside it for appName "vasp" we should have sortByPathVASP

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k0stik and others added 3 commits May 6, 2026 14:36
Dielectric and other NC workflows were getting GBRV ultrasoft defaults
because updateMethodDataByApplicationAndMaterials did not filter by
method.subtype and always prioritized /gbrv/ paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread src/js/models/dft.ts
setSubtype(subtype: SlugifiedEntryOrSlug): void {
this.setProp("subtype", subtype);
this.setFunctional(this.defaultFunctional);
this.setFunctional(this.defaultFunctional.slug);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep functional as object

type: "dft",
subtype: "lda",
functional: { slug: "pz", name: "pz" },
functional: "pz",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be back to slug, name

@timurbazhirov
timurbazhirov merged commit 5973111 into main May 28, 2026
8 checks passed
@timurbazhirov
timurbazhirov deleted the chore/SOF-7813 branch May 28, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants