Add Jpred archive table
[proteocache.git] / datadb / compbio / cassandra / JpredParserHTTP.java
index b780ddf..51fc8e3 100644 (file)
@@ -100,14 +100,9 @@ public class JpredParserHTTP implements JpredParser {
                                                                } catch (ParseException e) {
                                                                        e.printStackTrace();
                                                                }
-                                                               cc.InsertData(dateWork1, table[0], table[1], table[2], id, "OK", "OK", newprotein, seqs);
+                                                               cc.FormQueryTables(dateWork1, table[0], table[1], table[2], id, "OK", "OK", newprotein, seqs);
                                                                ++countinsertions;
                                                                ++njobs;
-                                                               // flush every 50 insertions
-                                                               // if (0 == countinsertions % 50) {
-                                                               // cc.flushData();
-                                                               // njobs -= 50;
-                                                               // }
                                                        }
                                                } catch (IOException e) {
                                                        e.printStackTrace();