diff --git a/UPGRADING.md b/UPGRADING.md index 2b14697..7ebd60d 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -104,8 +104,8 @@ textgrid.openTextgrid( ``` tg.save( fn=name, - format= "short_textgrid", - includeBlankSpaces= False + format="short_textgrid", + includeBlankSpaces=True ) ``` diff --git a/tutorials/tutorial1_intro_to_praatio.ipynb b/tutorials/tutorial1_intro_to_praatio.ipynb index 47e82ba..39b61c2 100644 --- a/tutorials/tutorial1_intro_to_praatio.ipynb +++ b/tutorials/tutorial1_intro_to_praatio.ipynb @@ -212,7 +212,7 @@ "tg.addTier(wordTier)\n", "tg.addTier(maxF0Tier)\n", "\n", - "tg.save(\"empty_textgrid.TextGrid\", format=\"short_textgrid\", includeBlankSpaces=False)" + "tg.save(\"empty_textgrid.TextGrid\", format=\"short_textgrid\", includeBlankSpaces=True)" ] }, { @@ -270,7 +270,7 @@ " \n", " tg = textgrid.Textgrid()\n", " tg.addTier(wordTier)\n", - " tg.save(join(outputPath, name + \".TextGrid\"), format=\"short_textgrid\", includeBlankSpaces=False)\n", + " tg.save(join(outputPath, name + \".TextGrid\"), format=\"short_textgrid\", includeBlankSpaces=True)\n", "\n", "# Did it work?\n", "for fn in os.listdir(outputPath):\n",