Skip to content
Alon Grinberg Dana edited this page May 13, 2021 · 13 revisions

Linux/Ubuntu

Hidden files

Any file or folder that begin with a period . are "hidden". To see them, open your file browser (Files), and press Ctrl + h. Pressing Ctrl + h again will hide them again.

Computational tools

Profiling

To profile how much time a Python program (like RMG or ARC) spends on each function call, have anaconda:graphviz and conda-forge:gprof2dot on your env, call the software with -m cProfile -o profiling.txt (e.g., python -m cProfile -o profiling.txt ~/Code/ARC/ARC.py input.yml), then create a .dot file by typing gprof2dot -f pstats profiling.txt -o callingGraph.dot, and finally convert the .dot file into a graphics file by doing dot -Tps callingGraph.dot -o outfile.ps.

Graphics

colors

Consider using ColorBrewer to select print-friendly and color-blind-safe colors for your graphics.

Clone this wiki locally