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
Branches
Tags
No related merge requests found
...@@ -20,7 +20,6 @@ import os, tempfile, ftplib, http.client ...@@ -20,7 +20,6 @@ import os, tempfile, ftplib, http.client
from ._ost_io import * from ._ost_io import *
from ost import mol, geom, conop, seq from ost import mol, geom, conop, seq
from ost import LogWarning
class IOProfiles: class IOProfiles:
def __init__(self): def __init__(self):
...@@ -447,11 +446,6 @@ def LoadMMCIF(filename, fault_tolerant=None, calpha_only=None, ...@@ -447,11 +446,6 @@ def LoadMMCIF(filename, fault_tolerant=None, calpha_only=None,
reader.info.ConnectBranchLinks() reader.info.ConnectBranchLinks()
#else: #else:
# raise IOError("File doesn't contain any entities") # 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: if seqres and info:
return ent, reader.seqres, reader.info return ent, reader.seqres, reader.info
if seqres: if seqres:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment