27 Jan
2021
27 Jan
'21
11:12 a.m.
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
--
ben@salilab.org https://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle