From 0df1782d3e576bb90592b5d5858491078f2dc681 Mon Sep 17 00:00:00 2001 From: Konstantinos Konstantinidis Date: Wed, 11 Jan 2017 16:50:25 +0200 Subject: [PATCH] minor --- dynamicSomocluWrapperGUI_v4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamicSomocluWrapperGUI_v4.py b/dynamicSomocluWrapperGUI_v4.py index d5eecab..63aa627 100644 --- a/dynamicSomocluWrapperGUI_v4.py +++ b/dynamicSomocluWrapperGUI_v4.py @@ -202,7 +202,7 @@ invStrClustDict[periodIdx] = {','.join(v):k for k,v in strClustDict[periodIdx].items()} bmuNodes[periodIdx] = tmpSameBMUsNodes tmpsplits,tmpmerges = 0, 0 - with open(target_path+'/dynamic__'+folderExtension+'/drifts/changes_'+str(periodIdx)+'_'+timestamp+'.txt','w') as f: + with codecs.open(target_path+'/dynamic__'+folderExtension+'/drifts/changes_'+str(periodIdx)+'_'+timestamp+'.txt','w','utf8') as f: for tsbn in tmpSameBMUsNodes: if tsbn not in bmuNodes[str(int(periodIdx)-1)]: oldbmucoords = []