Closed sulheim closed 3 years ago
That all looks good to me--the only thought is that self.reactions.loc[self.reactions['EXCH'], "REACTION_NAMES"]
returns a pandas series, I think, not a list. Maybe coerce it to a list first?
Also, just wondering, what bugs were you encountering that are fixed by the drop = True
call?
Also, just wondering, what bugs were you encountering that are fixed by the
drop = True
call?
Don't remember :/ I haven't been working with cometspy the last few months.
The main contribution is here one single line
self.media = self.media.reset_index(drop=True)
inlayout.py
that resolves an issue I encountered several times with non-unique indices in theself.media
dataframe.The other addtitions are a very basic .gitignore file and two helper functions to get variables - I can remove this edits if they are unwanted.