Commit 3e6029f5 authored by mlocatelli's avatar mlocatelli
parents 0a4271d3 967767a6
Pipeline #2508 passed with stages
in 11 minutes and 18 seconds
......@@ -16,9 +16,9 @@ integers
continous: "0.515,1.690,0.996" which is an array of floats
import os
import imp
import h5py
import argparse
import importlib
import numpy as np
from .signature_data import DataSignature
......@@ -93,7 +93,9 @@ class Preprocess():
if entry:
arglist.extend(['-ep', entry])
# import and run the
preprocess = imp.load_source('main', self.preprocess_script)
loader = importlib.machinery.SourceFileLoader('preprocess_script',
preprocess = loader.load_module()
def fit(self):
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