@@ -847,8 +847,6 @@ mv -f -- "${BASE}/query.lookup_tmp" "${BASE}/query.lookup"
847847 "--db-output" ,
848848 "--db-load-mode" ,
849849 "2" ,
850- "--write-lookup" ,
851- "1" ,
852850 "--format-output" ,
853851 columns ,
854852 "--complex-report-mode" ,
@@ -907,7 +905,7 @@ mv -f -- "${BASE}/query.lookup_tmp" "${BASE}/query.lookup"
907905 []string {
908906 config .Paths .Foldseek ,
909907 "mvdb" ,
910- filepath .Join (resultBase , "tmp0" , "latest" , "query_h " ),
908+ filepath .Join (resultBase , "tmp0" , "latest" , "interfacedb_query_h " ),
911909 filepath .Join (resultBase , "query_h" ),
912910 },
913911 []string {},
@@ -921,7 +919,7 @@ mv -f -- "${BASE}/query.lookup_tmp" "${BASE}/query.lookup"
921919 []string {
922920 config .Paths .Foldseek ,
923921 "mvdb" ,
924- filepath .Join (resultBase , "tmp0" , "latest" , "query " ),
922+ filepath .Join (resultBase , "tmp0" , "latest" , "interfacedb_query " ),
925923 filepath .Join (resultBase , "query" ),
926924 },
927925 []string {},
@@ -930,6 +928,19 @@ mv -f -- "${BASE}/query.lookup_tmp" "${BASE}/query.lookup"
930928 if err != nil {
931929 return & JobExecutionError {err }
932930 }
931+ err = execCommandSync (
932+ config .Verbose ,
933+ []string {
934+ "mv" ,
935+ filepath .Join (resultBase , "tmp0" , "latest" , "dimerdb_query.lookup" ),
936+ filepath .Join (resultBase , "query.lookup" ),
937+ },
938+ []string {},
939+ 1 * time .Minute ,
940+ )
941+ if err != nil {
942+ return & JobExecutionError {err }
943+ }
933944 for index , _ := range job .Database {
934945 err := os .RemoveAll (filepath .Join (resultBase , "tmp" + strconv .Itoa (index )))
935946 if err != nil {
0 commit comments