Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
zxkjack123 committed Apr 10, 2019
1 parent 61c4573 commit df36e5d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyne/alara.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,11 @@ def photon_source_hdf5_to_mesh(mesh, filename, tags, sub_voxel=False,
# creat a list of decay times (strings) in the source file
phtn_src_dc = []
with tb.open_file(filename) as h5f:
# import pdb; pdb.set_trace()
for row in h5f.root.data:
if row[2] not in phtn_src_dc:
phtn_src_dc.append(row[2])
else:
break
phtn_src_dc = list(set(phtn_src_dc))

# iterate through each requested nuclide/dectay time
for cond in tags.keys():
Expand Down

0 comments on commit df36e5d

Please sign in to comment.