Skip to content

Commit

Permalink
DAOTHER-9400 stop using special bypass for Global Phasing files - no …
Browse files Browse the repository at this point in the history
…longer needed
  • Loading branch information
Ezra Peisach committed Jul 2, 2024
1 parent 46941e7 commit 348f319
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions wwpdb/utils/wf/plugins/FormatUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from wwpdb.utils.wf.plugins.UtilsBase import UtilsBase
from wwpdb.utils.config.ConfigInfo import ConfigInfo
from wwpdb.utils.dp.RcsbDpUtility import RcsbDpUtility
from wwpdb.utils.wf.plugins.SFConvert import SFConvert
# from wwpdb.utils.wf.plugins.SFConvert import SFConvert


class FormatUtils(UtilsBase):
Expand Down Expand Up @@ -204,14 +204,14 @@ def mtz2pdbxOp(self, **kwArgs):
cI = ConfigInfo()
siteId = cI.get("SITE_PREFIX")

if sfFmt == "pdbx":
# See if we can handle specially
sfc = SFConvert()
if sfc.isSpecialSF(sfPath):
ok = sfc.handleSpecialSF(sfPath, sfPdbxFilePath, xyzPath, sfDiagFilePath, logFilePath)
self._lfh.write("Special handling of SF file returns %s\n" % ok)
if ok is True:
return True
# if sfFmt == "pdbx":
# # See if we can handle specially
# sfc = SFConvert()
# if sfc.isSpecialSF(sfPath):
# ok = sfc.handleSpecialSF(sfPath, sfPdbxFilePath, xyzPath, sfDiagFilePath, logFilePath)
# self._lfh.write("Special handling of SF file returns %s\n" % ok)
# if ok is True:
# return True
# Else fall through

dp = RcsbDpUtility(tmpPath=dirPath, siteId=siteId, verbose=self._verbose, log=self._lfh)
Expand Down

0 comments on commit 348f319

Please sign in to comment.