fix: fix the left/rigth config in store func
This commit is contained in:
parent
4dd670b8f1
commit
2836d479f6
@ -153,7 +153,7 @@ class CSV_handler:
|
||||
for round in range(4):
|
||||
for emg_nr in range(8):
|
||||
filename = right_list[subject_nr][round]
|
||||
self.store_df_in_container(filename, emg_nr, 'left', data_container, round+1)
|
||||
self.store_df_in_container(filename, emg_nr, 'right', data_container, round+1)
|
||||
# Links the stored data in the data_container to the Handler
|
||||
self.link_container_to_handler(data_container)
|
||||
return self.data_container_dict
|
||||
|
@ -15,7 +15,8 @@ def test_load_func():
|
||||
handler = CSV_handler()
|
||||
test_dict = handler.load_hard_PP_emg_data()
|
||||
subject2_container = test_dict.get(2)
|
||||
#print(subject2_container)
|
||||
print(subject2_container)
|
||||
print(subject2_container.subject_name)
|
||||
print(subject2_container.data_dict_round1.get('left')[1])
|
||||
|
||||
def test_min_max_func():
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user