diff --git a/src/bioservices/quickgo.py b/src/bioservices/quickgo.py index 0accfc1..1814213 100644 --- a/src/bioservices/quickgo.py +++ b/src/bioservices/quickgo.py @@ -87,7 +87,10 @@ def go_search(self, query, limit=600, page=1): return res def get_go_terms(self, query, max_number_of_pages=None): - """Get information on all terms and page through the result""" + """Get information on all terms and page through the result + + :param str query: terms as string of comma seperated values + """ query = query.replace(":", "%3A") query = query.replace(",", "%2C") diff --git a/src/bioservices/uniprot.py b/src/bioservices/uniprot.py index 4bfd28e..5fa309c 100644 --- a/src/bioservices/uniprot.py +++ b/src/bioservices/uniprot.py @@ -821,11 +821,11 @@ def get_df(self, entries, nChunk=100, organism=None, limit=10): if isinstance(output, type(None)): output = df.copy() else: - output = output.append(df, ignore_index=True) + # output = output.append(df, ignore_index=True) + output = pd.concat([output, df], ignore_index=True) # you may end up with duplicated... output.drop_duplicates(inplace=True) - # Sequences are splitted into chunks of 10 characters. let us remove # the spaces: if "sequence" in output.columns: