To: Help and discussion for users of IMP <>, "Gorbea, Jose" <>
Subject: Re: [IMP-users] Missing frame during imp_sampcon
From: Ben Webb <>
Date: Wed, 27 Jan 2021 11:12:48 -0800
On 1/21/21 4:24 PM, Gorbea, Jose wrote:
I am having a bit of an issue during analysis using imp_sampcon on IMP
2.13.0.
Here is the error message:
OSError: UsageError: "Trying to load a frame that isn't there" while
void RMF::FileConstHandle::set_current_frame(FrameID) const in file
"../modeling/run1/output/rmfs/2.rmf3" at frame f46
Do you have the full backtrace? It would show where in IMP.sampcon this
is happening.
I think your suspicion is correct - this is likely a truncated RMF file
due to an aborted run. Simply removing this RMF file might be enough to
make it work. Otherwise, we could wrap the failing code with a
try/except block to skip such files.
Ben
--
https://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle