-
Notifications
You must be signed in to change notification settings - Fork 12
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
add option to export to cub5 #111
Conversation
I see I am not passing CI tests I'll try to get to the bottom of it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One quick comment here.
I think all PRs need to be on branches on the upstream repo and not on forks for CI to work/have access to secrets.
@@ -63,6 +63,7 @@ invessel_build: | |||
mat_tag: vac_vessel | |||
plasma_mat_tag: Vacuum | |||
sol_mat_tag: Vacuum | |||
split_chamber: True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a necessary part of this PR? or just left over from your testing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just saw #110...
I'll try from a branch on the upstream |
added an option to export to cub5 as an optional arg for the
stellarator.export_dagmc()
method. Added a test for this method as well, not sure if it is necessary or not since this is sort of an internal cubit thing and if the DAGMC file gets generated I would expect that the .cub5 file will also be written, though I suppose this test would catch if coreform ever changes that syntax on us.Also added a small change to config.yaml to allow it to work from the command line, I tested both from the command line and from the python interface and things seem to work as expected. Tests are passing locally as well.
closes #93
works with yaml, and has the same filename as specified for the DAGMC file