Skip to content

Use consistent naming conventions for classes #333

Description

@murrayrm

The current code uses a lot of different naming conventions for classes. For example, just in the area of mechanisms, we have:

  • mechanisms/binding.py:class Two_Step_Cooperative_Binding
  • mechanisms/enzyme.py:class MichaelisMentenReversible
  • mechanisms/global_mechanisms.py:class Degradation_mRNA_MM
  • mechanisms/global_mechanisms.py:class Deg_Tagged_Degradation
  • mechanisms/txtl.py:class Transcription_MM
  • mechanisms/txtl.py:class Translation_MM
  • mechanisms/txtl.py:class multi_tx
    Camel case (Python), lower case with underscores (C), mixtures of the two, abbreviations (MM, tx, Tx), etc.

We should decide on a more consistent convention for classes. Let's use this issue to sort out what makes sense and then we can document a consistent set of guidelines and update all of the class names (with legacy names still allowed for backward compatability).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions