IMP  2.2.1
The Integrative Modeling Platform
IMP.isd.Entry Namespace Reference

Classes to handle ISD statistics files. More...

Detailed Description

The entry class represents a column in the statistics file. Its components are a title, a format and an additional object. It's what gets written to the statistics file in a column.

  • title: the title of the column
  • format: a wisely chosen format string (see below)
  • something: either something that can be formattable, a string, a number etc. This is a static entry. In that case all remaining arguments are discarded and get_value returns the formatted string : format % something. If something is a function, this is a dynamic entry, and the format string is used on the result of the function call something(*args,**kwargs).
Note
This class is only available in Python.