Skip to content
Snippets Groups Projects
Commit 0556faa1 authored by Dónal Murray's avatar Dónal Murray
Browse files

Remove hard coded path

parent 1eec5781
Branches
......@@ -18,7 +18,7 @@ logging.basicConfig(level=logging.INFO,
class hevfromtxt():
def __init__(self, inputFile):
# use input file for testing
h = np.loadtxt('share/sample.txt',skiprows = 1, delimiter = ',')
h = np.loadtxt(inputFile,skiprows = 1, delimiter = ',')
self._pressure = h[:,1].tolist()
self._flow = h[:,2].tolist()
self._volume = h[:,3].tolist()
......
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