question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JOSS review - vahid-sb

See original GitHub issue

Hi guys As part of the review of your JOSS submissions, I have been testing MNELAB for the past few days. And decided to open this issue to mention anything that need fixing. I will add more if I notice more issues. But before that, I should congratulate you all on this repository. Obviously, there is still many features that can be added, but as it is, it is already a very impressive and useful library. I tested MNELAB under both Linux (Ubuntu 21) and Windows 10. In both cases, I created a conda environment using conda create -n mnelab python=3.9 and after activating the environment, installed mnelab using: pip install mnelab[full] In both cases, I used output data from Branvision Acticap-64 and also from Wearable Sensing DSI-7 recorders.

  1. The first issue is that in Windows, I can plot the time-series data, but when trying to plot PSD, I get the following error:
Traceback (most recent call last):
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\mnelab\mainwindow.py", line 791, in plot_psd
    fig = self.model.current["data"].plot_psd(show=False, **kwds)
  File "<decorator-gen-220>", line 12, in plot_psd
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\mne\io\base.py", line 1548, in plot_psd
    return plot_raw_psd(self, fmin=fmin, fmax=fmax, tmin=tmin, tmax=tmax,
  File "<decorator-gen-187>", line 12, in plot_raw_psd
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\mne\viz\raw.py", line 438, in plot_raw_psd
    fig = _psd_figure(
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\mne\viz\_mpl_figure.py", line 2172, in _psd_figure
    psd, freqs = psd_func(inst, tmin=tmin, tmax=tmax, picks=picks,
  File "<decorator-gen-138>", line 12, in psd_welch
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\mne\time_frequency\psd.py", line 287, in psd_welch
    return psd_array_welch(data, sfreq, fmin=fmin, fmax=fmax, n_fft=n_fft,
  File "<decorator-gen-137>", line 12, in psd_array_welch
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\mne\time_frequency\psd.py", line 202, in psd_array_welch
    f_spect = parallel(my_spect_func(d, func=func, freq_sl=freq_sl,
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\joblib\parallel.py", line 1001, in __call__
    self._print("Using backend %s with %d concurrent workers.",
  File "C:\Users\DNI-2\miniconda3\envs\mnelab2\lib\site-packages\joblib\parallel.py", line 871, in _print
    writer = sys.stderr.write
AttributeError: 'NoneType' object has no attribute 'write'

While in Linux I could plot PSD with no error.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vahid-sbcommented, Sep 20, 2022

I did more tests and looked into the code, and no did not encounter any others issues. Hence, I close this issue. Thanks for resolving the previous ones.

1reaction
vahid-sbcommented, Sep 18, 2022

@cbrnr sorry for the delay in responding. I just found time to check both fixes and both issues are now resolved. Thanks for that. I will perform some more checks and tests and if I face no other issues, will update the review form accordingly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JOSS Papers: reviewed by @vahid-sb
JOSS Papers: reviewed by @vahid-sb · Pycrostates: a Python library to study EEG microstates · MNELAB: a graphical user interface for MNE-Python ·...
Read more >
[REVIEW]: Pycrostates: a Python library to study EEG ... - GitHub
I confirm that I read and will adhere to the JOSS code of conduct. General checks. Repository: Is the source code for this...
Read more >
Vahid S. Bokharaie
I have released open-source software, contribute to open-source software projects, and been a reviewer for the Journal of Open-Source Software (JOSS).
Read more >
Customer reviews: Natural Joss Powder / Jiggit / Jiggat for ...
The powder smells great in the bag but has no smell when it burns. It is a great binder if you are making...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found