-// def alv = new jalview.io.FileLoader().LoadFileWaitTillLoaded("examples/testdata/hmmer3/alignment_res.fa.gz","File").getViewport();
-def alv = jalview.bin.Jalview.getCurrentAlignFrame().getViewport();
+ def alv = new jalview.io.FileLoader().LoadFileWaitTillLoaded("examples/testdata/hmmer3/alignment_res.fa.gz",jalview.io.DataSourceType.FILE).getViewport();
+//def alv = jalview.bin.Jalview.getCurrentAlignFrame().getViewport();
def al = alv.getAlignment();
def jproc = new jalview.ws.ebi.HmmerJSONProcessor(al)
jproc.parseFrom(new jalview.io.FileParse("/Users/jprocter/git/jalview/examples/testdata/hmmer3/hmmeresult.json.gz",jalview.io.DataSourceType.FILE))