Skip to content

Commit

Permalink
fix(PRT): allow empty recarray or dataframe for output conversion fns (
Browse files Browse the repository at this point in the history
…#2103)

* previously PRT <-> MP7 conversion functions crashed on empty DataFrame or recarray
* return early if input argument is empty or already in desired format
* convert particle name to StringDtype if returning DataFrame
* consolidate pathline/endpoint output dtype definitions
* expand conversion function tests
* fix branch names in dev docs
  • Loading branch information
wpbonelli committed Feb 19, 2024
1 parent b58a703 commit dda482b
Show file tree
Hide file tree
Showing 3 changed files with 386 additions and 222 deletions.
2 changes: 1 addition & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ By default, `pytest-benchmark` will only print profiling results to `stdout`. If

## Branching model

This project follows the [git flow](https://nvie.com/posts/a-successful-git-branching-model/): development occurs on the `develop` branch, while `main` is reserved for the state of the latest release. Development PRs are typically squashed to `develop`, to avoid merge commits. At release time, release branches are merged to `main`, and then `main` is merged back into `develop`.
This project follows the [git flow](https://nvie.com/posts/a-successful-git-branching-model/): development occurs on the `develop` branch, while `master` is reserved for the state of the latest release. Development PRs are typically squashed to `develop`, to avoid merge commits. At release time, release branches are merged to `master`, and then `master` is merged back into `develop`.

## Deprecation policy

Expand Down
Loading

0 comments on commit dda482b

Please sign in to comment.