From 0c7f71c3a4c88fe88436a9f84891b75c76ae8f09 Mon Sep 17 00:00:00 2001 From: Josef Fruehwald Date: Thu, 23 Oct 2014 09:58:58 -0500 Subject: [PATCH] wasn't getting git info correctly so correct version number displays --- FAVE-align/FAAValign.py | 2 +- FAVE-extract/bin/extractFormants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FAVE-align/FAAValign.py b/FAVE-align/FAAValign.py index 6d75641..30ec27c 100755 --- a/FAVE-align/FAAValign.py +++ b/FAVE-align/FAAValign.py @@ -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: diff --git a/FAVE-extract/bin/extractFormants.py b/FAVE-extract/bin/extractFormants.py index 4b841e8..60f6181 100755 --- a/FAVE-extract/bin/extractFormants.py +++ b/FAVE-extract/bin/extractFormants.py @@ -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: