Removed a use of pandas.unique in read_dumpfiles to not cause problems with pandas versions 3.0.0 and higher. Also, for newly unbound mass plots, multiple sink companion separations will now be plotted when applicable.#3
Open
s-neilson wants to merge 2 commits into
Conversation
…er supports using a Python list as an input in versions of pandas 3.0.0 or higher . It is now changed to use a inbuilt Python set instead; the output dumpfile list is also now guaranteed to always be in the same alphanumerical order in case this is useful in the future.
…t, will now be plotted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For newly unbound mass plots, all sink separations will now be plotted instead of just the first if there is more than one companion.
In read_dumpfiles, removed the use of pandas.unique and replaced it with a Python set. This is because in versions of pandas that are 3.0.0 and higher the pandas.unique function no longer accepts a Python list as an input. I also made the output dumpfile list guaranteed to be in the same alphanumerical order in case this is useful in the future.