IMP logo
IMP Reference Guide  2.11.1
The Integrative Modeling Platform
IMP.isd.Entry.Entry Class Reference

The entry class represents a column in the statistics file. 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.

Definition at line 17 of file Entry.py.


The documentation for this class was generated from the following file: