update script
Browse files
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
|
58 |
-
"""List of protein sequences, ligand SMILES
|
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('
|
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 |
)
|