diff --git a/CITATION.cff b/CITATION.cff index cca11e6..dd6c0e6 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -12,8 +12,8 @@ authors: affiliation: Chemnitz University of Technology orcid: 'https://orcid.org/0000-0002-4932-2874' website: 'https://stefantaubert.com/' -version: 0.0.7 +version: 0.0.8 date-released: 2023-01-12 license: MIT url: https://github.com/stefantaubert/textgrid-ipa -doi: 10.5281/zenodo.7528782 \ No newline at end of file +doi: 10.5281/zenodo.7986716 \ No newline at end of file diff --git a/LICENSE b/LICENSE index 8c4d520..d563e29 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Stefan Taubert +Copyright (c) 2023 Stefan Taubert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 0e15982..e3883db 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ [![MIT](https://img.shields.io/github/license/stefantaubert/textgrid-ipa.svg)](https://github.com/stefantaubert/textgrid-ipa/blob/main/LICENSE) [![PyPI](https://img.shields.io/pypi/wheel/textgrid-tools.svg)](https://pypi.python.org/pypi/textgrid-tools/#files) ![PyPI](https://img.shields.io/pypi/implementation/textgrid-tools.svg) -[![PyPI](https://img.shields.io/github/commits-since/stefantaubert/textgrid-ipa/latest/main.svg)](https://github.com/stefantaubert/textgrid-ipa/compare/v0.0.7...main) -[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7528782.svg)](https://doi.org/10.5281/zenodo.7528782) +[![PyPI](https://img.shields.io/github/commits-since/stefantaubert/textgrid-ipa/latest/main.svg)](https://github.com/stefantaubert/textgrid-ipa/compare/v0.0.8...main) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7986716.svg)](https://doi.org/10.5281/zenodo.7986716) Command-line interface (CLI) to modify TextGrids and their corresponding audio files. @@ -168,7 +168,7 @@ If you want to cite this repo, you can use this BibTeX-entry generated by GitHub ## Changelog -- v0.0.8 (unreleased) +- v0.0.8 (2023-05-30) - Fixed: - Bugfix `intervals remove` copying on different in/out-locations - Bugfix `import-paths` and `import-audio-paths` option `--symlink` is now creating symbolic links instead of hard links diff --git a/pyproject.toml b/pyproject.toml index bb36dd3..22f937f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "textgrid-tools" -version = "0.0.7" +version = "0.0.8" description = "Command-line interface (CLI) to modify TextGrids and their corresponding audio files." readme = "README.md" requires-python = ">=3.8, <4" diff --git a/src/textgrid_tools_tests/intervals/py_between_pause_joining/__init__.py b/src/textgrid_tools_tests/helper_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_between_pause_joining/__init__.py rename to src/textgrid_tools_tests/helper_py/__init__.py diff --git a/src/textgrid_tools_tests/py_helper/test_check_intervals_are_consecutive copy.py b/src/textgrid_tools_tests/helper_py/test_check_intervals_are_consecutive copy.py similarity index 100% rename from src/textgrid_tools_tests/py_helper/test_check_intervals_are_consecutive copy.py rename to src/textgrid_tools_tests/helper_py/test_check_intervals_are_consecutive copy.py diff --git a/src/textgrid_tools_tests/py_helper/test_set_intervals_consecutive.py b/src/textgrid_tools_tests/helper_py/test_set_intervals_consecutive.py similarity index 100% rename from src/textgrid_tools_tests/py_helper/test_set_intervals_consecutive.py rename to src/textgrid_tools_tests/helper_py/test_set_intervals_consecutive.py diff --git a/src/textgrid_tools_tests/intervals/py_common/__init__.py b/src/textgrid_tools_tests/intervals/between_pause_joining_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_common/__init__.py rename to src/textgrid_tools_tests/intervals/between_pause_joining_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/py_between_pause_joining/test_get_chunks.py b/src/textgrid_tools_tests/intervals/between_pause_joining_py/test_get_chunks.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_between_pause_joining/test_get_chunks.py rename to src/textgrid_tools_tests/intervals/between_pause_joining_py/test_get_chunks.py diff --git a/src/textgrid_tools_tests/intervals/py_between_pause_joining/test_group_adjacent_pauses.py b/src/textgrid_tools_tests/intervals/between_pause_joining_py/test_group_adjacent_pauses.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_between_pause_joining/test_group_adjacent_pauses.py rename to src/textgrid_tools_tests/intervals/between_pause_joining_py/test_group_adjacent_pauses.py diff --git a/src/textgrid_tools_tests/intervals/py_duration_joining/__init__.py b/src/textgrid_tools_tests/intervals/common_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_duration_joining/__init__.py rename to src/textgrid_tools_tests/intervals/common_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/py_common/test_group_adjacent_content_and_pauses.py b/src/textgrid_tools_tests/intervals/common_py/test_group_adjacent_content_and_pauses.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_common/test_group_adjacent_content_and_pauses.py rename to src/textgrid_tools_tests/intervals/common_py/test_group_adjacent_content_and_pauses.py diff --git a/src/textgrid_tools_tests/intervals/py_common/test_merge_intervals.py b/src/textgrid_tools_tests/intervals/common_py/test_merge_intervals.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_common/test_merge_intervals.py rename to src/textgrid_tools_tests/intervals/common_py/test_merge_intervals.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/__init__.py b/src/textgrid_tools_tests/intervals/duration_joining_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/__init__.py rename to src/textgrid_tools_tests/intervals/duration_joining_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/py_duration_joining/test_chunk_intervals_with_pauses.py b/src/textgrid_tools_tests/intervals/duration_joining_py/test_chunk_intervals_with_pauses.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_duration_joining/test_chunk_intervals_with_pauses.py rename to src/textgrid_tools_tests/intervals/duration_joining_py/test_chunk_intervals_with_pauses.py diff --git a/src/textgrid_tools_tests/intervals/py_duration_joining/test_chunk_intervals_without_pauses.py b/src/textgrid_tools_tests/intervals/duration_joining_py/test_chunk_intervals_without_pauses.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_duration_joining/test_chunk_intervals_without_pauses.py rename to src/textgrid_tools_tests/intervals/duration_joining_py/test_chunk_intervals_without_pauses.py diff --git a/src/textgrid_tools_tests/intervals/py_duration_joining/test_get_duration_chunks.py b/src/textgrid_tools_tests/intervals/duration_joining_py/test_get_duration_chunks.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_duration_joining/test_get_duration_chunks.py rename to src/textgrid_tools_tests/intervals/duration_joining_py/test_get_duration_chunks.py diff --git a/src/textgrid_tools_tests/intervals/py_duration_joining/test_split_pauses.py b/src/textgrid_tools_tests/intervals/duration_joining_py/test_split_pauses.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_duration_joining/test_split_pauses.py rename to src/textgrid_tools_tests/intervals/duration_joining_py/test_split_pauses.py diff --git a/src/textgrid_tools_tests/intervals/py_duration_joining/test_split_pauses_at_end.py b/src/textgrid_tools_tests/intervals/duration_joining_py/test_split_pauses_at_end.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_duration_joining/test_split_pauses_at_end.py rename to src/textgrid_tools_tests/intervals/duration_joining_py/test_split_pauses_at_end.py diff --git a/src/textgrid_tools_tests/intervals/py_duration_joining/test_split_pauses_at_start.py b/src/textgrid_tools_tests/intervals/duration_joining_py/test_split_pauses_at_start.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_duration_joining/test_split_pauses_at_start.py rename to src/textgrid_tools_tests/intervals/duration_joining_py/test_split_pauses_at_start.py diff --git a/src/textgrid_tools_tests/intervals/py_sentence_joining/__init__.py b/src/textgrid_tools_tests/intervals/removing_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_sentence_joining/__init__.py rename to src/textgrid_tools_tests/intervals/removing_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_all.py b/src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_all.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_all.py rename to src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_all.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_both.py b/src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_both.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_both.py rename to src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_both.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_end.py b/src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_end.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_end.py rename to src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_end.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_start.py b/src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_start.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/test_get_intervals_start.py rename to src/textgrid_tools_tests/intervals/removing_py/test_get_intervals_start.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/test_get_sync_times.py b/src/textgrid_tools_tests/intervals/removing_py/test_get_sync_times.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/test_get_sync_times.py rename to src/textgrid_tools_tests/intervals/removing_py/test_get_sync_times.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/test_merge_consecutives.py b/src/textgrid_tools_tests/intervals/removing_py/test_merge_consecutives.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/test_merge_consecutives.py rename to src/textgrid_tools_tests/intervals/removing_py/test_merge_consecutives.py diff --git a/src/textgrid_tools_tests/intervals/py_removing/test_remove_intervals_from_tiers.py b/src/textgrid_tools_tests/intervals/removing_py/test_remove_intervals_from_tiers.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_removing/test_remove_intervals_from_tiers.py rename to src/textgrid_tools_tests/intervals/removing_py/test_remove_intervals_from_tiers.py diff --git a/src/textgrid_tools_tests/intervals/py_splitting/__init__.py b/src/textgrid_tools_tests/intervals/sentence_joining_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_splitting/__init__.py rename to src/textgrid_tools_tests/intervals/sentence_joining_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/py_text_replacement/__init__.py b/src/textgrid_tools_tests/intervals/splitting_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_text_replacement/__init__.py rename to src/textgrid_tools_tests/intervals/splitting_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/py_splitting/test_get_split_intervals.py b/src/textgrid_tools_tests/intervals/splitting_py/test_get_split_intervals.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_splitting/test_get_split_intervals.py rename to src/textgrid_tools_tests/intervals/splitting_py/test_get_split_intervals.py diff --git a/src/textgrid_tools_tests/intervals/test_splitting_v2_py/test_get_split_intervals_v2.py b/src/textgrid_tools_tests/intervals/splitting_py/test_get_split_intervals_v2.py similarity index 100% rename from src/textgrid_tools_tests/intervals/test_splitting_v2_py/test_get_split_intervals_v2.py rename to src/textgrid_tools_tests/intervals/splitting_py/test_get_split_intervals_v2.py diff --git a/src/textgrid_tools_tests/intervals/py_splitting/test_split_intervals.py b/src/textgrid_tools_tests/intervals/splitting_py/test_split_intervals.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_splitting/test_split_intervals.py rename to src/textgrid_tools_tests/intervals/splitting_py/test_split_intervals.py diff --git a/src/textgrid_tools_tests/intervals/test_splitting_v2_py/__init__.py b/src/textgrid_tools_tests/intervals/symbols_joining_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/test_splitting_v2_py/__init__.py rename to src/textgrid_tools_tests/intervals/symbols_joining_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/test_symbols_joining_py/test_chunk_intervals.py b/src/textgrid_tools_tests/intervals/symbols_joining_py/test_chunk_intervals.py similarity index 100% rename from src/textgrid_tools_tests/intervals/test_symbols_joining_py/test_chunk_intervals.py rename to src/textgrid_tools_tests/intervals/symbols_joining_py/test_chunk_intervals.py diff --git a/src/textgrid_tools_tests/intervals/test_symbols_joining_py/test_merge_right_core2.py b/src/textgrid_tools_tests/intervals/symbols_joining_py/test_merge_right_core2.py similarity index 100% rename from src/textgrid_tools_tests/intervals/test_symbols_joining_py/test_merge_right_core2.py rename to src/textgrid_tools_tests/intervals/symbols_joining_py/test_merge_right_core2.py diff --git a/src/textgrid_tools_tests/intervals/test_symbols_joining_py/__init__.py b/src/textgrid_tools_tests/intervals/template_joining_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/test_symbols_joining_py/__init__.py rename to src/textgrid_tools_tests/intervals/template_joining_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/test_template_joining/test_chunk_intervals_boundary.py b/src/textgrid_tools_tests/intervals/template_joining_py/test_chunk_intervals_boundary.py similarity index 100% rename from src/textgrid_tools_tests/intervals/test_template_joining/test_chunk_intervals_boundary.py rename to src/textgrid_tools_tests/intervals/template_joining_py/test_chunk_intervals_boundary.py diff --git a/src/textgrid_tools_tests/intervals/test_template_joining/__init__.py b/src/textgrid_tools_tests/intervals/text_replacement_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/intervals/test_template_joining/__init__.py rename to src/textgrid_tools_tests/intervals/text_replacement_py/__init__.py diff --git a/src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_all.py b/src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_all.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_all.py rename to src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_all.py diff --git a/src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_begin.py b/src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_begin.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_begin.py rename to src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_begin.py diff --git a/src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_both.py b/src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_both.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_both.py rename to src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_both.py diff --git a/src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_end.py b/src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_end.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_text_replacement/test_get_intervals_end.py rename to src/textgrid_tools_tests/intervals/text_replacement_py/test_get_intervals_end.py diff --git a/src/textgrid_tools_tests/intervals/py_text_replacement/test_replace_text.py b/src/textgrid_tools_tests/intervals/text_replacement_py/test_replace_text.py similarity index 100% rename from src/textgrid_tools_tests/intervals/py_text_replacement/test_replace_text.py rename to src/textgrid_tools_tests/intervals/text_replacement_py/test_replace_text.py diff --git a/src/textgrid_tools_tests/py_helper/__init__.py b/src/textgrid_tools_tests/tier/moving_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/py_helper/__init__.py rename to src/textgrid_tools_tests/tier/moving_py/__init__.py diff --git a/src/textgrid_tools_tests/tier/py_moving/test_move_tier.py b/src/textgrid_tools_tests/tier/moving_py/test_move_tier.py similarity index 100% rename from src/textgrid_tools_tests/tier/py_moving/test_move_tier.py rename to src/textgrid_tools_tests/tier/moving_py/test_move_tier.py diff --git a/src/textgrid_tools_tests/tiers/py_symbol_removing/__init__.py b/src/textgrid_tools_tests/tiers/py_symbol_removing/__init__.py deleted file mode 100644 index 792d600..0000000 --- a/src/textgrid_tools_tests/tiers/py_symbol_removing/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# diff --git a/src/textgrid_tools_tests/tier/py_moving/__init__.py b/src/textgrid_tools_tests/tiers/symbol_removing_py/__init__.py similarity index 100% rename from src/textgrid_tools_tests/tier/py_moving/__init__.py rename to src/textgrid_tools_tests/tiers/symbol_removing_py/__init__.py diff --git a/src/textgrid_tools_tests/tiers/py_symbol_removing/test_get_updated_mark.py b/src/textgrid_tools_tests/tiers/symbol_removing_py/test_get_updated_mark.py similarity index 100% rename from src/textgrid_tools_tests/tiers/py_symbol_removing/test_get_updated_mark.py rename to src/textgrid_tools_tests/tiers/symbol_removing_py/test_get_updated_mark.py