Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'NeuroTechX:develop' into deprecated-deep-learning
Browse files Browse the repository at this point in the history
bruAristimunha authored Jan 28, 2025
2 parents 2dd4e8b + 0c2cd0a commit 9dd1c13
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions moabb/datasets/download.py
Original file line number Diff line number Diff line change
@@ -221,10 +221,10 @@ def fs_get_file_list(article_id, version=None):
"""
fsurl = "https://api.figshare.com/v2"
if version is None:
url = fsurl + "/articles/{}/files".format(article_id)
url = fsurl + "/articles/{}".format(article_id)
headers = {"Content-Type": "application/json"}
response = fs_issue_request("GET", url, headers=headers)
return response
return response["files"]
else:
url = fsurl + "/articles/{}/versions/{}".format(article_id, version)
headers = {"Content-Type": "application/json"}
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -18,7 +18,8 @@ scipy = "^1.9.3"
mne = "^1.7.0"
pandas = ">=1.5.2"
h5py = "^3.10.0"
scikit-learn = ">=1.4.2"
# TODO: remove this once skorch release
scikit-learn = "<1.6"
matplotlib = "^3.6.2"
seaborn = "^0.12.1"
pyriemann = "^0.7"

0 comments on commit 9dd1c13

Please sign in to comment.