Skip to content

Commit

Permalink
add knossos.conf to parent folder
Browse files Browse the repository at this point in the history
  • Loading branch information
my-tien committed Mar 3, 2017
1 parent 171540f commit 7f8e2e2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions knossos_cuber/knossos_cuber.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,12 +975,14 @@ def knossos_cuber(config, log_fn):
source_dims = literal_eval(config.get('Dataset', 'source_dims'))
boundaries = (source_dims[0], source_dims[1], len(all_source_files))
config.set('Dataset', 'boundaries', str(boundaries))
dataset_base_path = config.get('Project', 'target_path') + '/mag1/'
dataset_base_path = config.get('Project', 'target_path')
scale = literal_eval(config.get('Dataset', 'scaling'))
exp_name = config.get('Project', 'exp_name') + '_mag1'
exp_name = config.get('Project', 'exp_name')


write_knossos_conf(dataset_base_path, scale, boundaries, exp_name,
write_knossos_conf(dataset_base_path + "/", scale, boundaries, exp_name,
mag=1)
write_knossos_conf(dataset_base_path + "/mag1/", scale, boundaries, exp_name,
mag=1)

total_mag1_time = time.time() - mag1_ref_time
Expand Down

0 comments on commit 7f8e2e2

Please sign in to comment.