Conversation
| pd.DataFrame | ||
| Pandas dataframe containing cached data. | ||
| """ | ||
| pass |
There was a problem hiding this comment.
Should it raise a NotImplementedError?
There was a problem hiding this comment.
I think all of these passes are unnecessary simply because the docstrings make the functions well-defined.
it does not do anything with or without the pass.
another thing is changing the logic, but I believe the passes here are proper because this is just a declaration of the necessary methods that need to be overridden by any subclass.
hopefully Amos will confirm once he gets to this.
There was a problem hiding this comment.
Yeah exactly -- we can remove the passes & leave the body empty of everything except the docstring because all the logic is implemented by subclasses.
amdecker
left a comment
There was a problem hiding this comment.
Looks like there's a few more in the drafts/ folder eg
disruption-py/drafts/machine/cmod/physics.py
Lines 128 to 133 in 7ecc92f
idk if those are worth fixing?
Otherwise looks good!
| pd.DataFrame | ||
| Pandas dataframe containing cached data. | ||
| """ | ||
| pass |
There was a problem hiding this comment.
Yeah exactly -- we can remove the passes & leave the body empty of everything except the docstring because all the logic is implemented by subclasses.
address:
test with:
fixed with: