Merge pull request #351 from snozawa/master

add wrench writing for loadPattern seq file
fix typo ;; elif -> elseif