Commit ba624407 authored by Michael Rudolf's avatar Michael Rudolf
Browse files

Fixed missing import.

parent 91e45cf8
...@@ -7,6 +7,7 @@ import csv ...@@ -7,6 +7,7 @@ import csv
import json import json
import operator import operator
import os import os
import shutil
import nptdms import nptdms
import numpy as np import numpy as np
...@@ -429,5 +430,5 @@ def check_tdms(file_list, config): ...@@ -429,5 +430,5 @@ def check_tdms(file_list, config):
file_path = os.path.join(config['paths']['path_in'], file_name) file_path = os.path.join(config['paths']['path_in'], file_name)
new_path = os.path.join(raw_folder, file_name) new_path = os.path.join(raw_folder, file_name)
shutil.move(file_path, new_path) shutil.move(file_path, new_path)
new_file_path = downsample_file(new_path) new_file_path = rstdat.downsample_file(new_path)
shutil.move(new_file_path, file_path) shutil.move(new_file_path, file_path)
Supports Markdown
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