fixed TypeError in alignmentGraph
Merge pull request #268 from bamueh/alignment-graph-error-267

fixed TypeError in alignmentGraph

Fixes #267