Commit b2889249 authored by Mohammadreza's avatar Mohammadreza

nr: refactor

parent a5f1170f
Pipeline #199 canceled with stages
......@@ -30,6 +30,6 @@ def iec_maker(data, id_, sps):
file_base.set_reaction_data([0], [0], [0])
# file_base.set_gain(gain)
# file_base.set_leadoff(leadoff)
file_base.save('blink_removed_iec_cropped/', filename=id_)
file_base.save('blink_removed_iec_files/', filename=id_)
# file_base.save('iec_files/', filename=id_)
return 'success'
......@@ -26,7 +26,7 @@ contaminated_file_list = ['./iec_files/1615632656_EyeOpen_1_Other.iec',
]
all_contaminated, all_clean = [], []
for contaminated_file in contaminated_file_list:
clean_file = 'blink_removed_iec_cropped/' + contaminated_file.split('/')[-1]
clean_file = 'blink_removed_iec_files/' + contaminated_file.split('/')[-1]
labeled_filename = contaminated_file.replace('iec_files', 'label_results').replace('iec', 'txt')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment