Marko Toplak avatar Marko Toplak committed acc7861

PIPAx: downloading data now uses buffers (removed reload=reload from calls in get_data).

Comments (0)

Files changed (1)

_bioinformatics/obiDicty.py

 
         if result_type is not None:
             ids_sort = argsort(ids)
-            res_list = self.results_list(result_type, reload=reload,
-                                         bufver=bufver)
+            res_list = self.results_list(result_type, bufver=bufver)
             # Map (data_id, mapping_id) to unique_id
             res_types_to_unique_id = \
                 dict(((annot["data_id"], annot["mappings_id"]),
                       annot["unique_id"]) \
                      for annot in res_list.values())
 
-            mappings = self.mappings(reload=reload, bufver=bufver)
+            mappings = self.mappings(bufver=bufver)
 
             def id_map(mappings_unique_id):
                 cbc()
 Can only retrieve a single result_template_type at a time"""
 )
             result_type = result_type_set.pop()
-            res_list = self.results_list(result_type, reload=reload,
-                                         bufver=bufver)
+            res_list = self.results_list(result_type, bufver=bufver)
             sort_keys = [(int(res_list[id]["data_id"]),
                           int(res_list[id]["mappings_id"]))\
                          for id in ids]
 
         cbc.end()
 
-        download_func = lambda x: self.download(x, reload=reload,
-                                                bufver=bufver)
+        #newer reload chip results
+        download_func = lambda x: self.download(x, bufver=bufver)
 
         cbc = CallBack(len(ids_sorted) + 3, optcb,
                        callbacks=99 - 20)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.