Skip to content

Commit

Permalink
typecast to int(0) instead of bool(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
tashrifbillah committed Nov 27, 2019
1 parent db4b4b5 commit 606f0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/buildTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
N_shm = int(config['DEFAULT']['N_shm'])
N_proc = int(config['DEFAULT']['N_proc'])
diffusionMeasures= [x for x in config['DEFAULT']['diffusionMeasures'].split(',')]
travelHeads= bool(config['DEFAULT']['travelHeads'])
travelHeads= int(config['DEFAULT']['travelHeads'])

def applyXform(inImg, refImg, warp, trans, outImg):

Expand Down

0 comments on commit 606f0df

Please sign in to comment.