-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle embedded quote in mmcif (#619)
* handle embedded quote in data value like 'dog's life', replace shlex.split with _split_one_line() using regex. * fix #570, add embedded quote example of 1n5m.cif into test_pdbx.py * replace shlex.quote() with updated _quote() * Avoid calling `quote()` on the value with '\n' twice. not call _quote in to_single(). * test `_split_one_line()` directly
- Loading branch information
1 parent
93d43c3
commit 0404084
Showing
2 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters