Skip to content

Commit

Permalink
Adapted script descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
hbuschme committed Apr 1, 2016
1 parent ca5ba40 commit 90f4649
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/tgt-concatenate-textgrids.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Concatenate Praat TextGrid files.
# tgt-concatenate-textgrids - Concatenate Praat TextGrid files.
# Copyright (C) 2011-2016 Marcin Włodarczak, Hendrik Buschmeier
#
# This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion scripts/tgt-extract-part.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Extract part of a TextGrid.
# tgt-extract-part.py - Extract part of a TextGrid.
# Copyright (C) 2015 Marcin Włodarczak
#
# This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion scripts/tgt-print-tiernames.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# print-tiernames.py - Prints the tier names of a textrid file
# tgt-print-tiernames.py - Prints the tier names of a TextGrid
# Copyright (C) 2012 Hendrik Buschmeier
#
# This program is free software: you can redistribute it and/or modify
Expand Down
3 changes: 3 additions & 0 deletions scripts/tgt-shift-boundaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@
# If a directory is specified, all tier names of the .TextGrid
# files contained in this directory are printed.

from __future__ import division, print_function

import argparse
import os.path
import sys

import tgt

Expand Down Expand Up @@ -62,6 +64,7 @@ def main():
except IOError:
print('An error occurred reading file {file}'.
format(file=arguments.file))
sys.exit(1)
# Create new textgrid
if arguments.outfile is None:
basename, extension = os.path.splitext(arguments.file)
Expand Down

0 comments on commit 90f4649

Please sign in to comment.