Hello all:
After building PyNE, I am trying to use it to make DAGMC work. However, I am stuck with the preprocessing of the materials, because I can't find any materials in the library:
============================
~/opt/dagmc/bin/uwuw_preproc geometry.h5m -l /home/mmagan/build_nuc_data/prebuilt_nuc_data.h5 -v
Loading file geometry.h5m
Initializing the GeomQueryTool...
Using faceting tolerance: 0.0001
Implicit Complement assumed to be Vacuum
Making material group name mat:Lead
Making material group name mat:Lead
...
Making material group name mat:Lead
Making material group name mat:Graveyard
Making material group name mat:Vacuum
Materials Present, :
material Lead was not found in the material library
========================
Looking at my material database, I am not sure if things are working as intended. When opening the nuc_data file in a console python, the keys seem to be in byte strings, as opposed to strings as in the webpage (Compare to
https://pyne.io/examples/material_library.html)
>>> import pyne
>>> from pyne import nuc_data
>>> from pyne.material_library import MaterialLibrary
>>> mats = MaterialLibrary('/home/mmagan/lib/nuc_data.h5', datapath='/material_library/materials')
>>> list(mats.keys())[-5:]
[b'Inconel-600', b'Steel, Stainless 202', b'Carbon Tetrachloride', b'Cesium Iodide', b'Plutonium Dioxide']
>>>
it does show materials. So, I am not certain if my material database is not built correctly, the uwuw_preproc needs updating, or I have something else broken. Could you help with this?
Cheers.