You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyRice package supports query on new databases by adding its description manually on file `database_description.xml`. Use the :py:func:`~pyrice.multi_query.MultiQuery.query_new_databse` function in the :py:class:`~pyrice.multi_query.MultiQuery` class::
141
-
142
-
>>> from pyrice.multi_query import MultiQuery
143
-
144
-
>>> query = MultiQuery()
145
-
>>> result = query.query_new_database(atts=['AT4G32150'], number_process= 4,
'comments': ['Results found for: annotation; queries: ; filters: '],
159
-
'data': [{...}]
160
-
...},
161
-
...}
162
-
}
163
-
164
-
To save the result, package uses the :py:func:`~pyrice.multi_query.MultiQuery.save` function in the :py:class:`~pyrice.multi_query.MultiQuery` with different types of file html, pkl, json, csv.::
'comments': ['Results found for: annotation; queries: ; filters: '],
280
+
'data': [{...}]
281
+
...},
282
+
...}
283
+
}
284
+
285
+
To save the result, package uses the :py:func:`~pyrice.multi_query.MultiQuery.save` function in the :py:class:`~pyrice.multi_query.MultiQuery` with different types of file html, pkl, json, csv.::
.. note:: With APIs return results with HTML and Javascript format, it might have some problems due to the difference of GUI (Javascript) or tag (HTML).
291
+
So, we are working to simplize the package on those two formats to make it easier for updating new databases.
0 commit comments