Changed auth

Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
2025-01-06 18:59:38 +00:00
parent 18846ddcb0
commit 247ade16cd
2 changed files with 5 additions and 4 deletions

View File

@@ -8,13 +8,13 @@ class mdsClient():
Models
"""
def __init__(self, host='epics.ipfn.tecnico.ulisboa.pt'):
def __init__(self, host='epics.ipfn.tecnico.ulisboa.pt', user='oper'):
"""
Initializes the MDSPlus thin Connection
"""
self.conn = mdsthin.Connection(f'ssh://{host}')
self.conn = mdsthin.Connection(f'ssh://{user}@{host}')
def openTree(self, tree='isttokmarte', shot=51608):
def openTree(self, tree='isttokmarte', shot=51618):
self.conn.openTree(tree, shot)
def getData(self, node):