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

removed code duplicate in BaseDataset and WindowsDataset #159

Merged

Conversation

gemeinl
Copy link
Collaborator

@gemeinl gemeinl commented Sep 1, 2020

No description provided.

f"pandas.Series or a dict")
if isinstance(description, dict):
description = pd.Series(description)
return description
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this function does not do anything with self so it should not be a class method
but rather a private function in the file

@robintibor
Copy link
Contributor

always great to remove code duplication 👍

@robintibor robintibor merged commit 96caf75 into braindecode:master Sep 2, 2020
@agramfort
Copy link
Collaborator

thx @gemeinl !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants