Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Use crowsetta 5.0, fixes #526 #657

Merged
merged 42 commits into from
May 27, 2023
Merged

ENH: Use crowsetta 5.0, fixes #526 #657

merged 42 commits into from
May 27, 2023

Commits on May 21, 2023

  1. Configuration menu
    Copy the full SHA
    b2e952c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4b2e17 View commit details
    Browse the repository at this point in the history
  3. Fix how files.find_fname and files.from_dir handle extensions tha…

    …t start with a period (by removing it)
    NickleDave committed May 21, 2023
    Configuration menu
    Copy the full SHA
    f26e637 View commit details
    Browse the repository at this point in the history
  4. Rewrite vak/annotation.py to use crowsetta >= 5.0

    - Call to_annot on instances returned by Transcriber.from_file
    - Use crowsetta.formats.by_name to get format class,
      so we can get its extension (instead of using getattr
      on a module)
    - Use `notated_path` attribute instead of `audio_path`
    NickleDave committed May 21, 2023
    Configuration menu
    Copy the full SHA
    6a3622d View commit details
    Browse the repository at this point in the history
  5. Call to_annot on instances returned by Transcriber.from_file in `io.d…

    …ataframe.from_file` function
    NickleDave committed May 21, 2023
    Configuration menu
    Copy the full SHA
    75a9ea8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a568d5f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    af6c16b View commit details
    Browse the repository at this point in the history
  8. Rename function in tests/scripts/generate_data_for_tests.py, main -> …

    …generate_test_data to avoid lightning crash
    NickleDave committed May 21, 2023
    Configuration menu
    Copy the full SHA
    750b741 View commit details
    Browse the repository at this point in the history
  9. Fix test in tests/test_transforms/test_labeled_timebins/test_function…

    …al.py to use crowsetta>=5.0 attribute name, notated_path
    NickleDave committed May 21, 2023
    Configuration menu
    Copy the full SHA
    86c038b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    331beb3 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Configuration menu
    Copy the full SHA
    c10c038 View commit details
    Browse the repository at this point in the history
  2. WIP: Fix/add tests in tests/test_annotation after rewriting `vak.anno…

    …tation.map_annotated_to_annot`
    NickleDave committed May 22, 2023
    Configuration menu
    Copy the full SHA
    ebfb352 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Configuration menu
    Copy the full SHA
    e66bb32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    014a242 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d6a8c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cabcb43 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    44bb198 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ae5e7af View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    d765f4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e13cc36 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    6eca315 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21c8fda View commit details
    Browse the repository at this point in the history
  3. Modify vak.io.audio.to_spect to take annot_format arg and pass it…

    … to `map_annotated_to_annot`
    NickleDave committed May 25, 2023
    Configuration menu
    Copy the full SHA
    fcb7fc2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eb123e6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a544358 View commit details
    Browse the repository at this point in the history
  6. Make fixes in vak.annotation: pass annot_format inside from_df, add a…

    …nnotated_ext parameter to map_annotated_to_annot and _map_using_ext
    NickleDave committed May 25, 2023
    Configuration menu
    Copy the full SHA
    ffb3797 View commit details
    Browse the repository at this point in the history
  7. Add spect_ext parameter to spect.to_dataframe, pass into map_annotate…

    …d_to_annot as annotated_ext
    NickleDave committed May 25, 2023
    Configuration menu
    Copy the full SHA
    e26bd92 View commit details
    Browse the repository at this point in the history
  8. Inside dataframe.to_files, set spect_ext to '.spect.npz' when we make…

    … spectrograms, then pass into spect.to_dataframe
    NickleDave committed May 25, 2023
    Configuration menu
    Copy the full SHA
    91ddae3 View commit details
    Browse the repository at this point in the history
  9. Cast audio_file to path inside vak.io.audio.to_spect to avoid error w…

    …hen loading npz with unpickle_array=False
    NickleDave committed May 25, 2023
    Configuration menu
    Copy the full SHA
    23a68fa View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fef01b4 View commit details
    Browse the repository at this point in the history
  11. Fix functions that map annotated files to annotations so they return …

    …a dict with string paths as keys, since that's what we get out of the dataset dataframe
    NickleDave committed May 25, 2023
    Configuration menu
    Copy the full SHA
    039bc2e View commit details
    Browse the repository at this point in the history
  12. Fix window_dataset helper function to get annot_format and determine …

    …annotated_ext before it calls map_annotated_to_annot
    NickleDave committed May 25, 2023
    Configuration menu
    Copy the full SHA
    7a2640a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    15517a7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8338e26 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6b83c60 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    717a48c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    331dff1 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Configuration menu
    Copy the full SHA
    2dcbfe0 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2023

  1. Configuration menu
    Copy the full SHA
    979ddf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    259a1fa View commit details
    Browse the repository at this point in the history
  3. Fix tests in test_labeled_timebins/test_functional.py -- xfail on .wa…

    …v.mat files that break tests
    NickleDave committed May 27, 2023
    Configuration menu
    Copy the full SHA
    7cd123c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a2b54c View commit details
    Browse the repository at this point in the history