Skip to content

Commit

Permalink
bugfix from last commit removing the caesar file attributes that allo…
Browse files Browse the repository at this point in the history
…w CLI of caesar files
  • Loading branch information
desika committed Jul 26, 2018
1 parent 549b3ce commit 7b19e51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion caesar/saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ def save(obj, filename='test.hdf5'):
mylog.info('Writing %s' % filename)

outfile = h5py.File(filename, 'w')
#commented out for py3 compatibility outfile.attrs.create('caesar', hg_version)
outfile.attrs.create('caesar', 315)


unit_registry = obj.yt_dataset.unit_registry.to_json()
outfile.attrs.create('unit_registry_json', unit_registry.encode('utf8'))
Expand Down

0 comments on commit 7b19e51

Please sign in to comment.