Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
a112fbfc
Unverified
Commit
a112fbfc
authored
Nov 26, 2025
by
Peter Eastman
Committed by
GitHub
Nov 26, 2025
Browse files
PDBx/mmCIF files are case insensitive (#5149)
parent
32193422
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wrappers/python/openmm/app/internal/pdbx/reader/PdbxContainers.py
.../python/openmm/app/internal/pdbx/reader/PdbxContainers.py
+3
-0
No files found.
wrappers/python/openmm/app/internal/pdbx/reader/PdbxContainers.py
View file @
a112fbfc
...
...
@@ -393,15 +393,18 @@ class DataCategory(DataCategoryBase):
def
getAttributeIndex
(
self
,
attributeName
):
try
:
attributeName
=
self
.
_catalog
[
attributeName
.
lower
()]
return
self
.
_attributeNameList
.
index
(
attributeName
)
except
:
return
-
1
def
hasAttribute
(
self
,
attributeName
):
attributeName
=
self
.
_catalog
[
attributeName
.
lower
()]
return
attributeName
in
self
.
_attributeNameList
def
getIndex
(
self
,
attributeName
):
try
:
attributeName
=
self
.
_catalog
[
attributeName
.
lower
()]
return
self
.
_attributeNameList
.
index
(
attributeName
)
except
:
return
-
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment