Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

183 add job inheriting #186

Merged
merged 10 commits into from
Apr 11, 2024
Merged

183 add job inheriting #186

merged 10 commits into from
Apr 11, 2024

Conversation

YHordijk
Copy link
Contributor

This now works, but we should add some test-cases

@YHordijk YHordijk linked an issue Mar 24, 2024 that may be closed by this pull request
@YHordijk YHordijk marked this pull request as draft March 25, 2024 09:58
@YHordijk YHordijk marked this pull request as ready for review March 25, 2024 12:19
@YHordijk YHordijk requested review from SiebeLeDe and SEBeutick March 25, 2024 12:19
@SiebeLeDe
Copy link
Contributor

Looks good. I am wondering does it copy the whole class? So not only the functional, basis set etc. but also dependancies or post/preamples?

This could increase the risk of human errors for larger workflows (forgetting to get rid of certain dependancies)

Copy link
Contributor

@SiebeLeDe SiebeLeDe left a comment

Choose a reason for hiding this comment

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

See comment in the main comment review

@YHordijk
Copy link
Contributor Author

YHordijk commented Apr 4, 2024

Indeed, this will copy the whole object, but I think that should be desired behaviour in this case. If you do not want to have dependencies then the user should make sure that there is no dependency set in the reference Job object. Preambles and postambles should also be copied over in my opinion.

@YHordijk YHordijk requested a review from SiebeLeDe April 8, 2024 08:20
@SiebeLeDe
Copy link
Contributor

Nice addition!

@YHordijk YHordijk merged commit db6ffbb into main Apr 11, 2024
6 checks passed
@YHordijk YHordijk deleted the 183-add-job-inheriting branch April 11, 2024 16:45
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.

Add job inheriting
2 participants