Error Message
assert False
Stacktrace
def test_lorestr():
import subprocess
import os
import platform
import sys
import shutil
cexam = os.getenv('CEXAM')
ccp4_scr = os.getenv('CCP4_SCR')
assert cexam is not None
assert ccp4_scr is not None
assert os.path.exists(cexam)
assert os.path.exists(ccp4_scr)
# Windows compatibility
setWindows()
lorestr_pdb1 = os.path.abspath(cexam + os.sep + 'toxd' + os.sep + 'toxd.pdb').replace(os.sep,'/')
assert os.path.exists(lorestr_pdb1)
lorestr_f = os.path.abspath(cexam + os.sep + 'toxd' + os.sep + 'toxd.mtz').replace(os.sep,'/')
assert os.path.exists(lorestr_f)
lorestr_outputDirectoryName = addSeparator(os.path.abspath(ccp4_scr + os.sep + 'lorestrOutput')).replace(os.sep,'/')
# if os.path.exists(lorestr_outputDirectoryName):
# lorestr_outputDirectoryName = generateNextDirectoryName(lorestr_outputDirectoryName)
if os.path.exists(lorestr_outputDirectoryName):
shutil.rmtree(ccp4_scr + os.sep + 'lorestrOutput', ignore_errors=True) #delete output from previous run
os.makedirs(lorestr_outputDirectoryName)
lorestr_cryo = False
lorestr_shifts = ''
lorestr_reso = 0.0
lorestr_doXMLprinting = False
lorestr_xmlFileName = None
lorestrXMLLog = XMLLog(doPrinting=lorestr_doXMLprinting,
xmlFileName=lorestr_xmlFileName,
cryo=lorestr_cryo)
lorestr_molprobityPresent = False
if isMolprobityPresent():
lorestr_molprobityPresent = True
else:
lorestr_molprobityPresent = False
> assert lorestr_molprobityPresent
E assert False
../lib/python3.9/site-packages/lorestr/test_lorestr.py:52: AssertionError