Adding mono + commit after the sticky bit.
This commit is contained in:
12
experiments/PMS/PMS.py
Normal file → Executable file
12
experiments/PMS/PMS.py
Normal file → Executable file
@ -32,3 +32,15 @@ class PP_Shutter:
|
||||
def __repr__(self):
|
||||
tn = typename(self)
|
||||
return f'{tn} "{self.name}" is {self.status}'
|
||||
|
||||
|
||||
|
||||
def get_Cernox_temperature():
|
||||
""" Very improvised """
|
||||
import csv
|
||||
|
||||
fname = '/gfa/.mounts/sf_cristallina/applications/devices/CryovacTIC/temperatures_009.csv'
|
||||
with open(fname) as f:
|
||||
reader = csv.reader(f)
|
||||
rows = [row for row in reader]
|
||||
return float(rows[-1][3])
|
Reference in New Issue
Block a user