Skip to content

Commit

Permalink
Minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottbiondo committed Feb 12, 2016
1 parent abd3a3d commit c5a0b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/r2s.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ def step2():
with open(tot_phtn_src_intensities, 'w') as f:
f.write(intensities)

e_bounds = phtn_src_energy_bounds(alara_geom)
e_bounds = phtn_src_energy_bounds("alara_geom")
e_bounds_str = ""
for e in e_bounds:
e_bounds_str += "{0}\n".format(e)
with open("e_bounds", 'r') as f:
with open("e_bounds", 'w') as f:
f.write(e_bounds_str)

print('R2S step2 complete.')
Expand Down

0 comments on commit c5a0b01

Please sign in to comment.