Skip to content
Snippets Groups Projects
Commit 5040d715 authored by Christoph.Knote's avatar Christoph.Knote
Browse files

BOXMOX default input file format now 1.7

parent 5c484aaa
Branches
Tags
No related merge requests found
...@@ -42,7 +42,7 @@ def _mygenfromtxt(f): ...@@ -42,7 +42,7 @@ def _mygenfromtxt(f):
dat.append( tuple(map(float, row)) ) dat.append( tuple(map(float, row)) )
return np.array(dat, dtype=[(_, float) for _ in hdr]) return np.array(dat, dtype=[(_, float) for _ in hdr])
def InputFile(fpath=None, version=1.0): def InputFile(fpath=None, version=1.7):
if not fpath is None: if not fpath is None:
# file format discovery: 3 lines with numbers ==> 1.7 # file format discovery: 3 lines with numbers ==> 1.7
with open(fpath, 'rb') as f: with open(fpath, 'rb') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment