Browse Source

[Exp] Fix typo bug in gklearn/experiments/ged/stability/group_results.py.

v0.2.x
jajupmochi 4 years ago
parent
commit
1009d5dd67
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      gklearn/experiments/ged/stability/group_results.py

+ 2
- 2
gklearn/experiments/ged/stability/group_results.py View File

@@ -36,7 +36,7 @@ def update_group_marker(file_name):
marker_fn = os.path.join(path, 'group_names_finished.pkl') marker_fn = os.path.join(path, 'group_names_finished.pkl')
if os.path.isfile(marker_fn): if os.path.isfile(marker_fn):
with open(marker_fn, 'rb') as f: with open(marker_fn, 'rb') as f:
fns = pickle.loads(f)
fns = pickle.load(f)
if name in fns: if name in fns:
return return
else: else:
@@ -170,5 +170,5 @@ if __name__ == '__main__':
# dir_folder = 'outputs/CRIANN/edit_costs.repeats.ratios.bipartite/' # dir_folder = 'outputs/CRIANN/edit_costs.repeats.ratios.bipartite/'
# group_all_in_folder(dir_folder) # group_all_in_folder(dir_folder)


dir_folder = 'outputs/edit_costs.real_data.num_sols.ratios.IPFP/groups/'
dir_folder = 'outputs/CRIANN/edit_costs.real_data.num_sols.ratios.IPFP/groups/'
create_group_marker_file(dir_folder) create_group_marker_file(dir_folder)

Loading…
Cancel
Save