Skip to content

add vasp_cal#447

Draft
volneu wants to merge 2 commits intozincware:mainfrom
volneu:feat/add-vasp
Draft

add vasp_cal#447
volneu wants to merge 2 commits intozincware:mainfrom
volneu:feat/add-vasp

Conversation

@volneu
Copy link

@volneu volneu commented Feb 9, 2026

adding a vasp cal.

@coderabbitai
Copy link

coderabbitai bot commented Feb 9, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@PythonFZ PythonFZ self-requested a review February 9, 2026 14:24
Comment on lines +9 to +23
@dataclasses.dataclass
class VASPModel(NodeWithCalculator):
"""
Docstring for VASPModel
"""

xc: str = "hse06"
hfscreen: float = 0.4
# config: dict = dataclasses.field(default_factory=dict)

def get_calculator(self, directory: str | Path, **kwargs) -> Calculator:
from ase.calculators.vasp import Vasp

return Vasp(xc="hse06", hfscreen=0.4)
raise NotImplementedError()
Copy link
Member

Choose a reason for hiding this comment

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

still a draft, please let me know once this is ready. Looking forward to it!

@volneu volneu requested a review from PythonFZ February 9, 2026 14:24
Copy link
Member

@PythonFZ PythonFZ left a comment

Choose a reason for hiding this comment

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

great draft

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