-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from wwPDB/DAOTHER-8398
Created link review section and table. Integration with mol*
- Loading branch information
Showing
7 changed files
with
139 additions
and
41 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
""" | ||
Report style details for PDBx struct_conn category. | ||
""" | ||
|
||
|
||
from mmcif_utils.style.PdbxCategoryStyleBase import PdbxCategoryStyleBase | ||
|
||
|
||
class PdbxLinksReportCategoryStyle(PdbxCategoryStyleBase): | ||
_styleId = "PDBX_LINKS_REPORT_V1" | ||
_categoryInfo = [ | ||
("struct_conn", "table"), | ||
] | ||
_cDict = { | ||
"struct_conn": [ | ||
('_struct_conn.id', '%s', 'str', ''), | ||
("_struct_conn.pdbx_leaving_atom_flag", "%s", "str", ""), | ||
("_struct_conn.ptnr1_auth_asym_id", "%s", "str", ""), | ||
("_struct_conn.ptnr1_auth_comp_id", "%s", "str", ""), | ||
("_struct_conn.ptnr1_auth_seq_id", "%s", "str", ""), | ||
("_struct_conn.ptnr1_symmetry", "%s", "str", ""), | ||
("_struct_conn.ptnr2_auth_asym_id", "%s", "str", ""), | ||
("_struct_conn.ptnr2_auth_comp_id", "%s", "str", ""), | ||
("_struct_conn.ptnr2_auth_seq_id", "%s", "str", ""), | ||
("_struct_conn.ptnr2_symmetry", "%s", "str", ""), | ||
("_struct_conn.pdbx_dist_value", "%s", "str", ""), | ||
], | ||
} | ||
_excludeList = [] | ||
_suppressList = [] | ||
# | ||
|
||
def __init__(self): | ||
super(PdbxLinksReportCategoryStyle, self).__init__(styleId=PdbxLinksReportCategoryStyle._styleId, | ||
catFormatL=PdbxLinksReportCategoryStyle._categoryInfo, | ||
catItemD=PdbxLinksReportCategoryStyle._cDict, | ||
excludeList=PdbxLinksReportCategoryStyle._excludeList, | ||
suppressList=PdbxLinksReportCategoryStyle._suppressList) |
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
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