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

feat: symlink use_case in template #101

Merged
merged 1 commit into from
Nov 21, 2024
Merged

feat: symlink use_case in template #101

merged 1 commit into from
Nov 21, 2024

Conversation

jpopesculian
Copy link
Contributor

Symlinks use_case in template. This is helpful for testing templates with aqora test and with notebooks in VS code

Copy link
Contributor

@volgar1x volgar1x left a comment

Choose a reason for hiding this comment

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

Can confirm this works well with h2-groundstate-energy when I run aqora test in its template. I just have one question though

err
);
}
} else if let Err(err) = tokio::fs::remove_dir_all(&venv_dir).await {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would this fail in the unlikely event venv_dir is a file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, but the error message is clear enough and its not a regression if it does. I wouldn't want to account for weird user behavior. If they've placed that file there for some reason, I also wouldn't want to delete it

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good then 😄

@volgar1x volgar1x merged commit 445bccc into main Nov 21, 2024
11 checks passed
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