Skip to content

Conversation

@shimwell
Copy link
Member

This PR attempts to allow the materials.xml filename / filepath to be specified when creating a geometry from a xml file. Perhaps this is slightly more flexible that the hard coded use of 'materials.xml' which we have currently.

I have added to the existing test to check the geometry is still loaded for a few different combinations of arguments.

Also it opens up the potential use of materials=None to pass in no materials. In the longer term I would be keen to propose the option of no materials when loading the geometry.

@paulromano
Copy link
Contributor

@shimwell This is going to conflict with #2291 since @pshriwise is making changes to from_xml stuff there. Do you mind if we put this on hold until that PR is finished? (it's getting close)

@shimwell
Copy link
Member Author

closing in favor of #2333

@shimwell shimwell closed this Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants