Open jstout211 opened 1 year ago
Something in here is causing errors that prevent the code from completing
QAdir = op.join(self.bids_root,'derivatives/ENIGMA_MEG_QA') QAsubjdir = QAdir + '/sub-' + self.subject + '/ses-' + self.session figname_icaoverlay = QAsubjdir + '/sub-' + self.subject + '_ses-' + self.session + '_run-' + self.run + '_cleaned.png' ica=mne.preprocessing.read_ica(op.join(self.fnames.ica)) ica.exclude = self.ica_comps_toremove #meg_rest_raw.icacomps self.load_data() fig=ica.plot_overlay(self.raw_rest, exclude=self.ica_comps_toremove) fig.savefig(figname_icaoverlay)
Still an issue on biowulf -- make a try/except statement at least so it doesn't failout without graphics support
Something in here is causing errors that prevent the code from completing