Quantum Bayesian Networks

June 25, 2019

Two Days Wasted and not Wasted, to get glorious class graph for Qubiter

Filed under: Uncategorized — rrtucci @ 9:57 pm

3 days ago, I first posted some automatically generated documentation for Qubiter at the readthedocs.org website. My first readthedocs…like having sex for the first time, not. I’ve now improved that documentation by adding a glorious, automatically generated class graph for Qubiter (a diagram showing all of Qubiter’s classes with arrows pointing from parent to children classes).

To accomplish this, I wrote in the last 2 days a python script called `classgraph.py` (which can now be found at the Qubiter repo at github) that generates this class graph by first scanning the Qubiter code to gather the necessary info, and then using the graphviz software to process that info. Writing that script was, in a sense, a waste of time, because a class graph, even though it looks gorgeous, is of marginal utility to the users. It helps them navigate the code slightly better, I guess. In my defense, I would like to say that 2 days is a short time, and I learned a lot in those 2 days. I learned some stuff (coding skills) that will no doubt be useful to me at a later date (like, for example, stuff about graphviz, the readthedocs website, and restructured text)

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: