Skip to content
Snippets Groups Projects
Verified Commit 2cecdb17 authored by Xavier Robin's avatar Xavier Robin
Browse files

Remove obsolete warning about MMCifInfo dependency on seqres

This was fixed in commit cd701347,
seqres is now always read.
parent be7342df
No related branches found
Tags 1.7.1
No related merge requests found
......@@ -20,7 +20,6 @@ import os, tempfile, ftplib, http.client
from ._ost_io import *
from ost import mol, geom, conop, seq
from ost import LogWarning
class IOProfiles:
def __init__(self):
......@@ -447,11 +446,6 @@ def LoadMMCIF(filename, fault_tolerant=None, calpha_only=None,
reader.info.ConnectBranchLinks()
#else:
# raise IOError("File doesn't contain any entities")
# Warn about info dependency on seqres
if info and not reader.seqres:
LogWarning("MMCifInfo is incomplete when seqres=False")
if seqres and info:
return ent, reader.seqres, reader.info
if seqres:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment