File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
ddbj_search_converter/dblink Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1010 - 最終 DB: {const_dir}/dblink/dblink.duckdb
1111"""
1212
13- import os
1413from collections .abc import Iterable , Iterator
1514from pathlib import Path
1615from typing import Literal
@@ -99,7 +98,7 @@ def finalize_relation_db(config: Config) -> None:
9998 tmp_path = _tmp_db_path (config )
10099 final_path = _final_db_path (config )
101100
102- os .replace (tmp_path , final_path )
101+ tmp_path .replace (final_path )
103102
104103
105104# === Write operations ===
@@ -383,7 +382,7 @@ def finalize_umbrella_db(config: Config) -> None:
383382 """ )
384383
385384 final_path = _umbrella_final_db_path (config )
386- os .replace (tmp_path , final_path )
385+ tmp_path .replace (final_path )
387386
388387
389388def save_umbrella_relations (config : Config , relations : IdPairs ) -> None :
You can’t perform that action at this time.
0 commit comments