Skip to content

Commit

Permalink
Pin pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
mberacochea committed Feb 9, 2024
1 parent 7687cef commit 6dd2e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mg_toolkit/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def results_to_df(self, csv_rows, uuid):
df.reset_index(inplace=True)
df.rename(columns={"index": "name"}, inplace=True)
# Split index to subject_id and accession
df[["subject_id", "accession"]] = df["name"].str.split(" ", 1, expand=True)
df[["subject_id", "accession"]] = df["name"].str.split(" ", n=1, expand=True)

# Put query_id, subject_id, and accession as first three columns
subject_id = df.subject_id
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# run pip install -r requirements

requests>=2.24.0
pandas>=0.25.3
pandas==2.2.0
jsonapi-client>=0.9.9
tqdm>=4.49.0

0 comments on commit 6dd2e51

Please sign in to comment.