GithubHelp home page GithubHelp logo

Comments (2)

laceysanderson avatar laceysanderson commented on July 25, 2024

Keeping this open as the blastx, tblastn, blastp forms still need their advanced options and the ability to upload files is also broken. That said, I think the functionality that is there does work 🤔 although it's hard to tell because the result page and the blast submission job itself are broken 🙈

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 25, 2024

More detail for how to finish the upgrade of these forms:

For each of the forms,

  1. Copy the form elements from the Tripal 3 version. The form elements are in the tripal_blast/includes/blast_ui.form_advanced_options.inc file, function matching the pattern blast_ui_BLASTPROGRAM_advanced_options_form where you replace BLASTPROGRAM with one of the three to be upgraded.
  2. Paste them into the $form_alter array in the formOptions() function of the associated Tripal 4 service. These services are found in the src/Services/ directory and include the Blast Program in their name.
  3. Go to the page for that blast program in your Tripal site where the code changes were made and confirm that they show up similarly to how they did in Tripal 3.

Notes

  • The validate and submit will also need to be transferred over but we will wait to do this until later as currently it is hard to confirm that has been done without error.
  • The blastn program has already been done so that can be used as an example.
  • The Tripal 3 code can be found here: tripal_blast/includes/blast_ui.form_advanced_options.inc

from tripal_blast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.