Skip to content

Instantly share code, notes, and snippets.

View ghutchis's full-sized avatar

Geoff Hutchison ghutchis

View GitHub Profile
@ghutchis
ghutchis / 12steps-of-grad-school.md
Created March 28, 2019 02:35
12 Steps of Grad School

The 12 Steps of Grad School

by Geoff Hutchison (with thanks to Andrew Metz) http://hutchison.chem.pitt.edu/

  1. Initial Optimism: (I will solve problem X and change the world!)
  2. Pessimism: (Hmm, this problem is hard)
  3. Apathy: (Meh, I’m getting okay results, but not great)
  4. Delusion: (I’m not sure what’s going on - it’s complicated)
  5. Cynicism: (Nobody can solve this..)
  6. Procrastination: (Eh, it’s a multi-year project, one day won’t hurt)
@ghutchis
ghutchis / data.py
Created October 21, 2018 18:25
Normal Mode Conformer Generation using cclib and OpenBabel Python
element_symbols = [
"Xx", "H", "He", "Li", "Be", "B", "C", "N", "O", "F",
"Ne", "Na", "Mg", "Al", "Si", "P", "S", "Cl", "Ar", "K",
"Ca", "Sc", "Ti", "V", "Cr", "Mn", "Fe", "Co", "Ni", "Cu",
"Zn", "Ga", "Ge", "As", "Se", "Br", "Kr", "Rb", "Sr", "Y",
"Zr", "Nb", "Mo", "Tc", "Ru", "Rh", "Pd", "Ag", "Cd", "In",
"Sn", "Sb", "Te", "I", "Xe", "Cs", "Ba", "La", "Ce", "Pr",
"Nd", "Pm", "Sm", "Eu", "Gd", "Tb", "Dy", "Ho", "Er", "Tm",
"Yb", "Lu", "Hf", "Ta", "W", "Re", "Os", "Ir", "Pt", "Au",
@ghutchis
ghutchis / mol-dipoles.py
Created October 9, 2018 17:48
Calculation dipole moments using Open Babel in Python
#!/usr/bin/env python
from __future__ import print_function
import sys
import os
import math
import pybel
@ghutchis
ghutchis / workflow-ideas.md
Last active July 29, 2018 23:16
Workflow ideas for 2018 Avogadro UGM
@ghutchis
ghutchis / discussion.md
Last active August 22, 2018 17:09
2018 Avogadro Meeting Topics

Code style / quality

  • Updated header comments
  • clazy
  • clang-tidy
  • Replacing jsoncpp

Plugin Ecosystem

  • Guides and examples for plugins
  • Website directory needs
  • Register GitHub repo
@ghutchis
ghutchis / 2018-community.md
Last active July 2, 2018 19:40
2018 Avogadro Community Survey

2018 Avogadro Community Survey

Quick Summary (tldr)

  • Many users find Avogadro from a friend, peer or instructor (~45%)
  • By far, most download binaries (>80%)
    • Many use package managers (42%)
  • Responses were heavily from Linux (71%) and Mac (60%) users, despite most SourceForge downloads from Windows users (66%)
  • Heavily educated, with >90% of responses with at least a graduate degree
  • Many can code: >40% report Python knowledge, >10% report C/C++ knowledge
@ghutchis
ghutchis / CMakeLists.txt
Created June 27, 2018 18:46
Broken ResetView for Avo2
include_directories(${CMAKE_CURRENT_BINARY_DIR})
avogadro_plugin(ResetView
"Manipulate the view camera."
ExtensionPlugin
resetview.h
ResetView
"resetview.cpp"
""
)
@ghutchis
ghutchis / ff-gradients.py
Created May 4, 2018 21:32
Force field energies and gradients using Open Babel
#!/usr/bin/env python
from __future__ import print_function
import sys
import os
import pybel
@ghutchis
ghutchis / Avogadro2-notes.md
Last active July 18, 2018 19:15
Notes for Avogadro2

The largest complaints about Avogadro v1.x were about crashes and slow performance on large systems. To solve this, we needed to rewrite the code essentially from the ground up. Marcus Hanwell and others at Kitware contributed significantly to this effort.

The new architecture also makes it much easier to extend, whether for your own specific needs, or to connect with a wide variety of chemistry software.

Major Features in Avogadro 2

  • Improved stability using a new code architecture
  • Dramatically improved rendering performance, up to millions of atoms
@ghutchis
ghutchis / CMakeLists.txt
Created March 15, 2018 01:33
Reset View template for avogadrolibs
include_directories(${CMAKE_CURRENT_BINARY_DIR})
avogadro_plugin(ResetView
"Manipulate the view camera."
ExtensionPlugin
resetview.h
ResetView
"resetview.cpp"
""
)