aquakin.UnitWarning#

class aquakin.UnitWarning(reaction, location, detail)[source]#

Bases: NamedTuple

One dimensional-consistency finding for a rate expression.

Variables:
  • reaction (str) – The reaction whose rate: expression the finding is in.

  • location (str) – A short description of the offending sub-expression / node.

  • detail (str) – What was expected versus what was found.

Parameters:
  • reaction (str)

  • location (str)

  • detail (str)

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

detail

Alias for field number 2

location

Alias for field number 1

reaction

Alias for field number 0

reaction: str#

Alias for field number 0

location: str#

Alias for field number 1

detail: str#

Alias for field number 2