Skip to content

Commit

Permalink
store git hashes from Castro output
Browse files Browse the repository at this point in the history
--HG--
branch : yt
  • Loading branch information
zingale committed Jul 25, 2016
1 parent 4d2ab41 commit 19124cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yt/frontends/boxlib/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,10 @@ def _parse_parameter_file(self):
if any(b in line for b in bcs):
p, v = line.strip().split(":")
self.parameters[p] = v.strip()
if "git hash" in line:
# line format: codename git hash: the-hash
fields = line.split(":")
self.parameters[fields[0]] = fields[1].strip()
line = next(f)

# runtime parameters that we overrode follow "Inputs File
Expand Down

0 comments on commit 19124cd

Please sign in to comment.