The simplest, most flexible thing I can think of is to change the main ProtonDrive class to a base class without an __init__ function, and then have an Amber based init function for an AmberProtonDrive or CpinProtonDrive.
When we change the format around, we can implement a new constructor for an XmlProtonDrive, or something similar. I think that should work.
Based on discussion in #57 .
The simplest, most flexible thing I can think of is to change the main
ProtonDrive
class to a base class without an__init__
function, and then have an Amber based init function for anAmberProtonDrive
orCpinProtonDrive
.When we change the format around, we can implement a new constructor for an
XmlProtonDrive
, or something similar. I think that should work.