Skip to content

Commit

Permalink
oops, fix doco for write_output, and use in add-depth-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Apr 26, 2016
1 parent f764713 commit fe57aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/legacypipe/add-depth-tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def add_depth_tag(survey, brick, outdir, overwrite=False):
]:
primhdr.add_record(dict(name='COMMENT', value=s, comment=s))

with out as survey.write_output('tractor', brick=brick):
with survey.write_output('tractor', brick=brick) as out:
# print 'Header:', hdr
# T.writeto(outfn, header=hdr, primheader=primhdr)

Expand Down

0 comments on commit fe57aee

Please sign in to comment.