add name column
Browse files- pdbbind_complexes.py +3 -2
pdbbind_complexes.py
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
15 |
-
"""TODO: A dataset of protein sequences, ligand SMILES,
|
16 |
|
17 |
import huggingface_hub
|
18 |
import os
|
@@ -55,7 +55,7 @@ _URLs = {name: _URL+_file_names[name] for name in _file_names}
|
|
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,
|
59 |
|
60 |
VERSION = datasets.Version("1.0.0")
|
61 |
|
@@ -73,6 +73,7 @@ class ProteinLigandContacts(datasets.ArrowBasedBuilder):
|
|
73 |
#else: # This is an example to show how to have different features for "first_domain" and "second_domain"
|
74 |
features = datasets.Features(
|
75 |
{
|
|
|
76 |
"seq": datasets.Value("string"),
|
77 |
"smiles": datasets.Value("string"),
|
78 |
"ligand_xyz": datasets.Sequence(datasets.Sequence(datasets.Value('float32'))),
|
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
15 |
+
"""TODO: A dataset of protein sequences, ligand SMILES, and complex coordinates."""
|
16 |
|
17 |
import huggingface_hub
|
18 |
import os
|
|
|
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, and complex contacts."""
|
59 |
|
60 |
VERSION = datasets.Version("1.0.0")
|
61 |
|
|
|
73 |
#else: # This is an example to show how to have different features for "first_domain" and "second_domain"
|
74 |
features = datasets.Features(
|
75 |
{
|
76 |
+
"name": datasets.Value("string"),
|
77 |
"seq": datasets.Value("string"),
|
78 |
"smiles": datasets.Value("string"),
|
79 |
"ligand_xyz": datasets.Sequence(datasets.Sequence(datasets.Value('float32'))),
|