Skip to content

Commit 34bcfac

Browse files
committed
update comment
1 parent 56fcc36 commit 34bcfac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/atlas/sc_similarity_examples/similarity/optimize_similarity_weights.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
from dance.settings import SIMILARITYDIR
2727

28-
sys.path.append(str(SIMILARITYDIR)) # 添加父目录到路径
28+
sys.path.append(str(SIMILARITYDIR))
2929
print(sys.path)
3030
from similarity.process_tissue_similarity_matrices import convert_to_complex
3131
from visualization.visualize_atlas_performance import get_runs
@@ -194,6 +194,6 @@ def objective(w1, feature_name):
194194
"feature_name": best_result['feature_name'],
195195
"weight1": best_result['w1'],
196196
"total rank": int(best_result['total_rank'])
197-
} # 添加单个值
197+
}
198198
with open(result_path, 'w', encoding='utf-8') as f:
199199
json.dump(sim_dict, f, indent=4, ensure_ascii=False)

0 commit comments

Comments
 (0)