Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding DRAGONS version to header of outputs #299

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
3 changes: 3 additions & 0 deletions recipe_system/reduction/coreReduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,9 @@ def _sname(name):
return newname

for ad in outputs:
ver = __version__
if ver:
ad.phu['DRGNSVER'] = ver
if self.suffix:
username = _sname(ad.filename)
ad.write(username, overwrite=True)
Expand Down