mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
added a-p analysis script to repo; some minor bug fixes to adjust tools to work with simulation data
This commit is contained in:
parent
de6dbd3051
commit
21431f9a31
6 changed files with 41 additions and 1500 deletions
|
@ -23,9 +23,8 @@ if (len(sys.argv) > 1):
|
|||
filename = sys.argv[1]
|
||||
print " Loading parameters from", filename
|
||||
if not os.access(filename, os.F_OK):
|
||||
print " Cannot find parameter file!"
|
||||
print " Cannot find parameter file %s!" % filename
|
||||
exit(-1)
|
||||
#parms = __import__(filename[:-3], globals(), locals(), ['*'])
|
||||
parms = imp.load_source("name", filename)
|
||||
globals().update(vars(parms))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue