Skip to content

Commit

Permalink
fix typing of label_atom_id and auth_atom_id
Browse files Browse the repository at this point in the history
  • Loading branch information
sbittrich committed Jan 30, 2024
1 parent 63b6468 commit 9c72f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion molviewspec/molviewspec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""MolViewSpec"""

__version__ = "0.1.6"
__version__ = "0.1.7"

from molviewspec.builder import create_builder
from molviewspec.nodes import ComponentExpression, validate_state_tree
4 changes: 2 additions & 2 deletions molviewspec/molviewspec/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ class ComponentExpression(BaseModel): # Feel free to rename (this used to be In
description="Defines a consecutive range of residues when combined with `beg_auth_seq_id`. End indices are inclusive."
)
residue_index: Optional[int] = Field(description="0-based residue index in the source file")
label_atom_id: Optional[int] = Field(description="Atom name like 'CA', 'N', 'O' (`_atom_site.label_atom_id`)")
auth_atom_id: Optional[int] = Field(description="Atom name like 'CA', 'N', 'O' (`_atom_site.auth_atom_id`)")
label_atom_id: Optional[str] = Field(description="Atom name like 'CA', 'N', 'O' (`_atom_site.label_atom_id`)")
auth_atom_id: Optional[str] = Field(description="Atom name like 'CA', 'N', 'O' (`_atom_site.auth_atom_id`)")
type_symbol: Optional[str] = Field(
description="Element symbol like 'H', 'HE', 'LI', 'BE' (`_atom_site.type_symbol`)"
)
Expand Down

0 comments on commit 9c72f70

Please sign in to comment.