fix: env & paths
This commit is contained in:
parent
1d8fbd49d1
commit
a200ff729a
|
|
@ -1,3 +1,4 @@
|
|||
#!./venv/bin/python3
|
||||
import syslab
|
||||
from json import dump
|
||||
from time import sleep, time
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!./venv/bin/python3
|
||||
import pandas as pd
|
||||
import json
|
||||
import matplotlib.pyplot as plt
|
||||
|
|
@ -5,7 +6,7 @@ import os
|
|||
from datetime import timedelta
|
||||
|
||||
## Read the measurements data file ##
|
||||
DATA_MEAS_DIR = 'data\measurements'
|
||||
DATA_MEAS_DIR = 'data/measurements'
|
||||
# Always plot latest datafile - replace [-1] with another index if you want to plot a specific file.
|
||||
MEAS_LOG_FILE = sorted(os.listdir(DATA_MEAS_DIR))[-1]
|
||||
|
||||
|
|
@ -19,7 +20,7 @@ use_setpoint_log = False
|
|||
|
||||
## Read the setpoints data file ##
|
||||
if use_setpoint_log:
|
||||
DATA_SP_DIR = 'data\setpoints'
|
||||
DATA_SP_DIR = 'data/setpoints'
|
||||
# Always plot latest datafile
|
||||
SP_LOG_FILE = sorted(os.listdir(DATA_SP_DIR))[-1]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue