Skip to content

Commit 3ca0570

Browse files
committed
Add missing slash betweeen directory and file
1 parent 93903d2 commit 3ca0570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyext/src/mldb/normalize_map_for_parts_fitting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def histogram_match_map(ref, exp, em_map, df=None):
121121
refcdf = compute_cdf(ref) # compute the CDF for the ref map
122122

123123
if df is not None:
124-
of = open(os.path.dirname(em_map)+"hmatch.dat", "w")
124+
of = open(os.path.join(os.path.dirname(em_map), "hmatch.dat"), "w")
125125
for i in range(exp.get_number_of_voxels()):
126126
expval = exp.get_value(i)
127127
# get how frequent that pixel value (expval) occurs in

0 commit comments

Comments
 (0)