Skip to main content

The development kit example does not work

Comments

7 comments

  • Hilary Miller

    Alignment operations have special treatment in Geneious. They always appear as a tab in the options for the general alignment operation and you can't change that. So for ExampleAlignmentOperation go to "Align/Assemble -> Pairwise/Multiple Align" and there will be a tab called "Padding Alignment". Are you able to see that?

    If you want to write a more general purpose operation, the ExampleWorkflow is a good one to start from. It already implements getActionOptions so you can tweak that. What goes wrong when you try to run it? What operating system and IDE are you using?

    0
  • arkilis

    Thanks for your quick reply. 

     

    Yes, thanks to your kind help I found the plugin under the "Pairwise/Multiple Align". 

     

    For the dev, I am using Windows 7 + Eclipse(Build id: 20130614-0229), followed by the setup.html in the dev kit. This is how I tried to run it:

     

    Go to Eclipse Run -> Run Configurations, most of the examples can be found under Java Application, but can't find the ExampleWorkflow one, even I tried to import this project but failed. Error:  Project ExampleWorkflowPlugin does not exist. I check the location, it does sit there.

     

    Thanks again!

     

     

    0
  • Hilary Miller

    Right, I see what you mean. I've been testing with IntelliJ. Our Eclipse project file is misconfigured for that plugin. I've fixed it for our next release. To fix it yourself, open the file examples/ExampleWorkflowPlugin/.project in a text editor. Change the text inside it that says "ExampleWorkflow" to "ExampleWorkflowPlugin".

     

    Thanks for letting us know about the problem. I hope your plugin development goes well. Let us know if you have any other questions.

    0
  • arkilis

    appreciate your help!

    0
  • arkilis

    I tried your way, but still have the same problem. Error:  Project ExampleWorkflowPlugin does not exist

    0
  • Hilary Miller
    I am not really familiar with how eclipse projects work (I use intellij), but I found the change I suggested worked if I started with a completely fresh eclipse workspace after changing that file.
    0
  • arkilis

    I create a new project using the build.xml from the other example project. Did not change anything. Now it works. 

    0

Please sign in to leave a comment.