-
Notifications
You must be signed in to change notification settings - Fork 9
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
[JOSS] misc small items #9
Conversation
Not sure if you already have it and I can't see it, but it would be nice to switch on the Readthedocs PR preview feature for this repo: https://docs.readthedocs.io/en/stable/pull-requests.html |
@@ -29,6 +29,7 @@ | |||
"sphinx.ext.duration", | |||
"sphinx.ext.doctest", | |||
"sphinx.ext.autodoc", | |||
"sphinx.ext.viewcode", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
html_static_path = ["_static"] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't exist. better to remove it (it was raising a warning)
path = Path.home() / "mtrf_data" | ||
if not path.exists(): | ||
path.mkdir() | ||
else: | ||
path = Path(path) | ||
if not (path / "speech_data.npy").exists(): # download the data | ||
url = "https://github.com/powerfulbean/mTRFpy/raw/master/tests/data/speech_data.npy" | ||
import requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moving this from a top level import to a nested import here ... because you'd have to declare requests as a dependency otherwise, when actually you just need it to download sample data.
some misc typo corrections and some questions:
mTRFpy/mtrf.conf
Lines 1 to 2 in 0df8aa6
mTRFpy/LICENSE
Line 3 in 0df8aa6
sys
needed? What is it for?mTRFpy/mtrf/__init__.py
Line 5 in 0df8aa6
.mailmap
file, because runninggit shortlog --email --summary
on your repo results in many different identities. For an example, see: https://github.com/mne-tools/mne-bids/blob/main/.mailmap