Skip to content

Commit

Permalink
Fix pandas trying to guess dtypes and breaking on invalid job names w…
Browse files Browse the repository at this point in the history
milot-mirdita committed Aug 17, 2024
1 parent c21e7a0 commit fdf3b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colabfold/batch.py
Original file line number Diff line number Diff line change
@@ -584,7 +584,7 @@ def get_queries(
if input_path.is_file():
if input_path.suffix == ".csv" or input_path.suffix == ".tsv":
sep = "\t" if input_path.suffix == ".tsv" else ","
df = pandas.read_csv(input_path, sep=sep)
df = pandas.read_csv(input_path, sep=sep, dtype=str)
assert "id" in df.columns and "sequence" in df.columns
queries = [
(seq_id, sequence.upper().split(":"), None)

0 comments on commit fdf3b23

Please sign in to comment.