bug: minor errors

This commit is contained in:
Skudalen 2021-06-23 10:14:07 +02:00
parent 5e5d07a150
commit c207fc2c99
5 changed files with 3 additions and 5 deletions

View File

@ -1,3 +1,3 @@
{
"python.pythonPath": "~/.virtualenv/myo_signal_analysis"
"python.pythonPath": "/Users/Markus/opt/Anaconda3/python"
}

View File

@ -3,8 +3,6 @@ from pathlib import Path
class CSV_handler:
self.working_dir
def __init__(self):
self.working_dir = str(Path.cwd())
@ -17,7 +15,7 @@ class CSV_handler:
# Extracts out the timestamp and the selected emg signal into a new dataframe
def get_time_emg_table(self, filename, emg_nr):
tot_data_frame = make_df(self, filename)
tot_data_frame = self.make_df(self, filename)
emg_str = "emg" + str(emg_nr)
filtered_df = tot_data_frame[["timestamp", emg_str]]
return filtered_df

Binary file not shown.

View File

@ -1,4 +1,4 @@
from Handle_emg_data.py import CSV_handler
from Handle_emg_data import CSV_handler
def test_df_extraction():
handler = CSV_handler()

Binary file not shown.