Basic Example of loading a string using default positional parameter
data = maci.loadstr('mydata1 = "data1" \nmydata2 = "data2"')
In this example, we simply load maci data from a string using the loadstr function passing a maci formatted string as the first argument to the function to load the maci data, and assign the returned data object to a variable.
Access the data by their individual and respective attribute names like you normally would on an object in python.
Use this parameter to enable/disable Attribute Name Deduplication. The default setting is enabled.
This feature protects against having duplicate attribute names loaded from a string. This is helpful if a name has already been defined in the string previously and you do not want it to be overwritten accidentally. This ensures attribute names are unique in your string especially when loading large data sets having thousands of names where it may be hard to keep track.
It will also protect against re-assigning an already existing method name in the maci data object.
You may disable this feature by setting this parameter to False if you need names to be overwritten, but it is recommended to leave it on and write names uniquely.