Skip to content

Commit

Permalink
Merge pull request #60 from medusabci/developers
Browse files Browse the repository at this point in the history
Merge MEDUSA Platform v2024 [KRONOS]
  • Loading branch information
esantamariavazquez authored Apr 11, 2024
2 parents 52e2255 + ada0ea6 commit bdbf0ff
Show file tree
Hide file tree
Showing 87 changed files with 3,509 additions and 1,741 deletions.
2 changes: 1 addition & 1 deletion dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pillow
pylsl
PyQt5
PySide6
pyqtgraph
jinja2
requests
Expand Down
59 changes: 30 additions & 29 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
bson==0.5.10
certifi==2023.5.7
cffi==1.15.1
charset-normalizer==3.1.0
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
colorama==0.4.6
contourpy==1.0.7
cryptography==41.0.1
cycler==0.11.0
dill==0.3.6
fonttools==4.39.4
h5py==3.8.0
idna==3.4
contourpy==1.2.0
cryptography==41.0.5
cycler==0.12.1
dill==0.3.7
fonttools==4.45.1
h5py==3.10.0
idna==3.6
Jinja2==3.1.2
joblib==1.2.0
kiwisolver==1.4.4
joblib==1.3.2
kiwisolver==1.4.5
MarkupSafe==2.1.3
matplotlib==3.7.1
medusa-kernel>=1.2.0<1.3.0
numpy==1.24.3
packaging==23.1
pandas==2.0.2
matplotlib==3.8.2
medusa-kernel>=1.3.0<1.4.0
numpy==1.26.2
packaging==23.2
pandas==2.1.3
patsy==0.5.3
Pillow==9.5.0
Pillow==10.1.0
pycparser==2.21
pylsl==1.16.1
pyparsing==3.0.9
PyQt5==5.15.9
PyQt5-Qt5==5.15.2
PyQt5-sip==12.12.1
pylsl==1.16.2
pyparsing==3.1.1
pyqtgraph==0.13.3
PySide6==6.6.0
PySide6-Addons==6.6.0
PySide6-Essentials==6.6.0
python-dateutil==2.8.2
pytz==2023.3
pytz==2023.3.post1
requests==2.31.0
scikit-learn==1.2.2
scipy==1.10.1
scikit-learn==1.3.2
scipy==1.11.4
shiboken6==6.6.0
six==1.16.0
statsmodels==0.14.0
threadpoolctl==3.1.0
tqdm==4.65.0
threadpoolctl==3.2.0
tqdm==4.66.1
tzdata==2023.3
urllib3==2.0.3
urllib3==2.1.0
5 changes: 3 additions & 2 deletions src/accounts_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
import exceptions
from user_session import UserSession
from gui.qt_widgets import dialogs
from constants import ACCOUNTS_DIR


class AccountsManager:

ACCOUNTS_DIR = 'accounts'
ACCOUNTS_PATH = '%s/accounts' % ACCOUNTS_DIR
CURRENT_SESSION_PATH = '%s/session' % ACCOUNTS_DIR

def __init__(self):
self.ACCOUNTS_DIR = ACCOUNTS_DIR
if not os.path.isdir(self.ACCOUNTS_DIR):
os.mkdir(self.ACCOUNTS_DIR)
if os.path.isfile(self.ACCOUNTS_PATH):
Expand All @@ -24,7 +25,7 @@ def __init__(self):
self.current_session = UserSession()

def wrap_path(self, path):
"""This function wraps the given path for the current session foler
"""This function wraps the given path for the current session folder
"""
if self.check_session():
alias = self.current_session.user_info['alias']
Expand Down
Loading

0 comments on commit bdbf0ff

Please sign in to comment.