Skip to content

Commit 898fa67

Browse files
committed
fixing problem with custom file uploads in UI
git-svn-id: http://code.open-bio.org/repos/biojava/biojava-live/trunk@10009 7c6358e6-4a41-0410-a743-a5b2a554c398
1 parent 5d662b5 commit 898fa67

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

biojava3-structure-gui/src/main/java/org/biojava/bio/structure/align/gui/AlignmentCalcDB.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,15 @@ public void run() {
102102
}
103103

104104

105+
if ( name1.startsWith("file:/"))
106+
name1= "CUSTOM";
107+
105108
job = new MultiThreadedDBSearch(name1,structure1, outFile, algorithm, nrCPUs, domainSplit);
106109

107110
AtomCache cache = new AtomCache(config);
108111
System.out.println("using cache: " + cache.getPath());
112+
System.out.println("name1: " + name1);
113+
System.out.println("structure:" + structure1.getName());
109114
job.setAtomCache(cache);
110115

111116
if ( name1.equals("CUSTOM")) {

0 commit comments

Comments
 (0)