pyworkflow.project.usage module
- class pyworkflow.project.usage.ProtStat(count=0, nextProtsDict=None)[source]
Bases:
object
Class to store the usage part of a reported ScipionWorkflow
- class pyworkflow.project.usage.ScipionWorkflow(jsonStr=None)[source]
Bases:
object
Class to serialize and deserialize what is reported from scipion. Example: {“ProtA”:
- [2, {
“ProtB”:2, “ProtC”:3, …
}
], …
}
Instantiate this class optionally with a JSON string serialized from this class (what is sent by Scipion to this web service).
- deserialize(jsonStr)[source]
Deserialize a JSONString serialized by this class with the toJSON method