Closed jstout211 closed 1 year ago
If the ENIGMA_MEG_QA is not created - mkdir it.
(enigma_meg_test) jstout@kani:/fast/ENIGMA_OHBM$ ~/src/enigma_MEG/enigmeg/QA/Run_enigma_QA_GUI.py -bids_root $(pwd) -QAtype 'bem' Traceback (most recent call last): File "/home/jstout/src/enigma_MEG/enigmeg/QA/Run_enigma_QA_GUI.py", line 82, in <module> history_log = initialize(bids_root, QAtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/jstout/src/enigma_MEG/enigmeg/QA/enigma_QA_GUI_functions.py", line 170, in initialize logging.basicConfig(filename=logfile, encoding='utf-8', level=logging.INFO, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/jstout/miniconda3/envs/enigma_meg_test/lib/python3.11/logging/__init__.py", line 2050, in basicConfig h = FileHandler(filename, mode, ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/jstout/miniconda3/envs/enigma_meg_test/lib/python3.11/logging/__init__.py", line 1181, in __init__ StreamHandler.__init__(self, self._open()) ^^^^^^^^^^^^ File "/home/jstout/miniconda3/envs/enigma_meg_test/lib/python3.11/logging/__init__.py", line 1213, in _open return open_func(self.baseFilename, self.mode, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/fast/ENIGMA_OHBM/derivatives/ENIGMA_MEG_QA/bem_QA_logfile.txt'
Fixed in : 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
If the ENIGMA_MEG_QA is not created - mkdir it.