jglaser commited on
Commit
cd980d7
·
1 Parent(s): b3cf95a

update script

Browse files
Files changed (1) hide show
  1. protein_ligand_contacts.py +3 -3
protein_ligand_contacts.py CHANGED
@@ -54,8 +54,8 @@ _URLs = {name: _URL+_file_names[name] for name in _file_names}
54
 
55
 
56
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
57
- class BindingAffinity(datasets.ArrowBasedBuilder):
58
- """List of protein sequences, ligand SMILES and binding affinities."""
59
 
60
  VERSION = datasets.Version("1.4.1")
61
 
@@ -78,7 +78,7 @@ class BindingAffinity(datasets.ArrowBasedBuilder):
78
  "affinity_uM": datasets.Value("float"),
79
  "neg_log10_affinity_M": datasets.Value("float"),
80
  "affinity": datasets.Value("float"),
81
- "contacts": datasets.Sequence(datasets.Value('int')),
82
  # These are the features of your dataset like images, labels ...
83
  }
84
  )
 
54
 
55
 
56
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
57
+ class ProteinLigandContacts(datasets.ArrowBasedBuilder):
58
+ """List of protein sequences, ligand SMILES, binding affinities and contacts."""
59
 
60
  VERSION = datasets.Version("1.4.1")
61
 
 
78
  "affinity_uM": datasets.Value("float"),
79
  "neg_log10_affinity_M": datasets.Value("float"),
80
  "affinity": datasets.Value("float"),
81
+ "contacts": datasets.Sequence(datasets.Value('int64')),
82
  # These are the features of your dataset like images, labels ...
83
  }
84
  )