Skip to content

Commit

Permalink
Merge pull request #24 from wwPDB/DAOTHER-8398
Browse files Browse the repository at this point in the history
Added more columns. Removed unused code
  • Loading branch information
wmorellato authored May 2, 2024
2 parents bef3539 + 80bac34 commit 0c1e1fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 4 additions & 0 deletions wwpdb/apps/ann_tasks_v2/report/styles/LinksReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ class PdbxLinksReportCategoryStyle(PdbxCategoryStyleBase):
("_struct_conn.ptnr1_auth_comp_id", "%s", "str", ""),
("_struct_conn.ptnr1_auth_seq_id", "%s", "str", ""),
("_struct_conn.ptnr1_symmetry", "%s", "str", ""),
("_struct_conn.pdbx_ptnr1_label_alt_id", "%s", "str", ""),
("_struct_conn.pdbx_ptnr1_PDB_ins_code", "%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_ptnr2_label_alt_id", "%s", "str", ""),
("_struct_conn.pdbx_ptnr2_PDB_ins_code", "%s", "str", ""),
("_struct_conn.pdbx_dist_value", "%s", "str", ""),
],
}
Expand Down
9 changes: 0 additions & 9 deletions wwpdb/apps/ann_tasks_v2/webapp/CommonTasksWebAppWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2511,15 +2511,6 @@ def _makeCheckReports(self, entryIdList, fileSource="wf-archive", operationList=
rptPath = chk.getReportPath()
duL.copyToDownload(rptPath)
aTagList.append(duL.getAnchorTag())

if "read-links" in operationList:
reader = LinksReader(reqObj=self._reqObj, verbose=self._verbose, log=self._lfh)
reader.run(entryId=entryId, inpPath=modelFilePath)
hasDiags = chk.getReportSize() > 0
if hasDiags:
rptPath = chk.getReportPath()
duL.copyToDownload(rptPath)
aTagList.append(duL.getAnchorTag())

if "check-special-position" in operationList:
chk = SpecialPositionCalc(reqObj=self._reqObj, verbose=self._verbose, log=self._lfh)
Expand Down

0 comments on commit 0c1e1fd

Please sign in to comment.