Base¶
-
class
casingSimulations.base.
BaseCasing
(**kwargs)¶ Bases:
properties.base.base.HasProperties
Base class that contains working directories, code version and can be savedRequired Properties:
- directory (
String
): Working directory, a unicode string, Default: . - filename (
String
): Filename to which the properties are serialized and written to, a unicode string - version (
String
): version of the software, a unicode string, Default: 0.0.4
-
copy
()¶ Make a copy of the current casing object
-
filename
¶ filename (
String
): Filename to which the properties are serialized and written to, a unicode string
-
save
(filename=None, directory=None)¶ Save the casing properties to json :param str file: filename for saving the casing properties :param str directory: working directory for saving the file
- directory (