-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split Cluster into subclasses (#656)
* Add skeleton for Cluster subclasses * Add constructors in subclasses * Move to_xml_string to ContainerCluster + update test * Move to_xml_string to ContentCluster + update test * Make document_name mandatory for ContentCluster * Remove type, subclass-specific params. Implement repr. Update doctest * Move documentation to appropriate subclasses * Use base constructor in Cluster subclasses * Generate common XML elements in parent class * Reorder output in test to match XML generation order * Minor comment
- Loading branch information
Showing
2 changed files
with
128 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters