Skip to content
Snippets Groups Projects

Add CI with python 3 including trilinos

Merged Boman Romain requested to merge ci-py3 into adrien
4 files
+ 8
5
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 3
2
@@ -80,10 +80,11 @@ def read(filename):
"""Read from file and store in data array
Adrien Croavto
"""
import io
import numpy as np
# read file
fl = file(filename)
label = fl.next().split(',')
fl = io.open(filename, 'r')
label = fl.readline().split(',')
fl.close()
data = np.loadtxt(filename, delimiter=',', skiprows=1)
return data
Loading