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

Version 5.1 #280

Merged
merged 26 commits into from
Oct 12, 2024
Merged

Version 5.1 #280

merged 26 commits into from
Oct 12, 2024

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    d6a047e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6de1d18 View commit details
    Browse the repository at this point in the history
  3. Have SimpleSeq only map column names in column_map, fix #272

    Inside `SimpleSeq.from_file`, when someone specifies a
    `column_map` argument, we only do the mapping if a column
    name in the loaded csv file is a key in `column_map`.
    Otherwise we leave the column as-is, and if it's not one of
    the columns we need for the annotations
    ("onset_s", "offset_s", "label"),
    it gets thrown away.
    NickleDave committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    061293c View commit details
    Browse the repository at this point in the history
  4. Make SimpleSeq work with csv that doesn't have labels, fix #271

    Adds `default_label` argument to `from_file` method,
    a string that defaults to `'-'`
    and if the `pandas.DataFrame`
    loaded from the csv file does not already have a
    'label' column, adds that column with the
    `default_label` value as the label in every row.
    
    This makes it possible to load segmentations saved
    in csv files that do not have labels,
    just start and stop times of the segments.
    NickleDave committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    aceb7cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4f28227 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b5986db View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4e46831 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d9e1155 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6cc51e5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ddd5e5a View commit details
    Browse the repository at this point in the history
  11. Rewrite crowsetta.data as crowsetta.examples, fix #278

    As described in issue, and also:
    Add example data files to dir
    Remove crowsetta.data
    Rewrite tests/test_data.py as tests/test_example.py
    NickleDave committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    75e0fa3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2354554 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Add helpful error message in SimpleSeq.from_file for when columns don…

    …'t have expected names.
    NickleDave committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    1f7b255 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce6d4e0 View commit details
    Browse the repository at this point in the history
  3. Apply linting

    NickleDave committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    5db6b8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91bc39d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d10d02b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4827d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2eee21b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    64a670f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2f1b2b4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    226b61e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e1d8943 View commit details
    Browse the repository at this point in the history
  12. Add assert in unit test for empty SimpleSeq that we can call to_seq a…

    …nd get a Sequence of length 0
    NickleDave committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    2012e4a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    25d4e08 View commit details
    Browse the repository at this point in the history
  14. Put all of API onto one page in docs, fix how we show crowsetta.examp…

    …les.show and crowsetta.example
    NickleDave committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    929be20 View commit details
    Browse the repository at this point in the history