Skip to content

Commit

Permalink
wasn't getting git info correctly so correct version number displays
Browse files Browse the repository at this point in the history
  • Loading branch information
JoFrhwld committed Oct 23, 2014
1 parent 29da49a commit 0c7f71c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FAVE-align/FAAValign.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ def write_log(filename, wavfile, duration):
f.write("Alignment statistics for file %s:\n\n" % os.path.basename(wavfile))

try:
check_version = subprocess.Popen(["git","describe"], stdout = subprocess.PIPE)
check_version = subprocess.Popen(["git","describe", "--tags"], stdout = subprocess.PIPE)
version,err = check_version.communicate()
version = version.rstrip()
except OSError:
Expand Down
2 changes: 1 addition & 1 deletion FAVE-extract/bin/extractFormants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ def writeLog(filename, wavFile, maxTime, meansFile, covsFile, opts):
f.write(time.asctime())
f.write("\n")
try:
check_version = subprocess.Popen(["git","describe"], stdout = subprocess.PIPE)
check_version = subprocess.Popen(["git","describe", "--tags"], stdout = subprocess.PIPE)
version,err = check_version.communicate()
version = version.rstrip()
except OSError:
Expand Down

0 comments on commit 0c7f71c

Please sign in to comment.