diff options
author | Hunter Rew <hbrew@email.wm.edu> | 2014-04-24 09:22:33 -0400 |
---|---|---|
committer | Hunter Rew <hbrew@email.wm.edu> | 2014-04-24 09:22:33 -0400 |
commit | 15405c9070cf2f75b93a2327b0acb2b1af031ac9 (patch) | |
tree | 8759720e864454e28548cb40d8268dd3a27c1275 | |
parent | 80b579089e6ce787486772f34e80f369fe9c6888 (diff) | |
download | eit_filter_simulations-15405c9070cf2f75b93a2327b0acb2b1af031ac9.tar.gz eit_filter_simulations-15405c9070cf2f75b93a2327b0acb2b1af031ac9.zip |
Fixed the data type for n
-rw-r--r-- | simulate.m | 2 | ||||
-rw-r--r-- | source/simulate.py | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ function simulate() target = [source_dir, 'simulate.py']; tic(); - runCommand(sprintf('python %s %s %0.0f', target, source_dir, n)); + runCommand(sprintf('python %s %s %d', target, source_dir, n)); toc(); end diff --git a/source/simulate.py b/source/simulate.py index 5a316f4..d0ff380 100644 --- a/source/simulate.py +++ b/source/simulate.py @@ -119,7 +119,7 @@ def main(): source_dir = './' global data_dir - data_dir = root_dir + 'data/test/' + data_dir = root_dir + 'data/' global config_dir config_dir = source_dir + 'config/' @@ -127,7 +127,7 @@ def main(): global time_multiplier time_multiplier = 100 - n = sys.argv[2] # Number of processes to run + n = int(sys.argv[2]) # Number of processes to run decays_ab = readArgs('decay_ab') decays_bc = readArgs('decay_bc') |