Skip to content

Commit c9c66b1

Browse files
committed
Load 3Di db into gpuserver for foldseek
1 parent 5c25fc8 commit c9c66b1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

backend/worker.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,14 +1725,17 @@ func worker(jobsystem JobSystem, config ConfigRoot) {
17251725
for _, db := range databases {
17261726
if db.GpuConfig != nil && db.GpuConfig.UseServer {
17271727
go func(p Params) {
1728-
executable := config.Paths.Mmseqs
1729-
if config.App == AppFoldseek {
1730-
executable = config.Paths.Foldseek
1731-
}
17321728
dbpath := filepath.Join(config.Paths.Databases, p.Path)
17331729
if p.OverridePath != "" {
17341730
dbpath = filepath.Clean(p.OverridePath)
17351731
}
1732+
1733+
executable := config.Paths.Mmseqs
1734+
if config.App == AppFoldseek {
1735+
executable = config.Paths.Foldseek
1736+
dbpath = dbpath + "_ss"
1737+
}
1738+
17361739
parameters := []string{
17371740
executable,
17381741
"gpuserver",

0 commit comments

Comments
 (0)