I've got a nice html report of blast results by query, and tabular subject
result listing a handful of columns. It was set up so that checkboxes by each
row and a submit button for each subject sent form data to another tool we
have. I'd tricked the other tool's form into thinking it had all the right
input for a refresh, including the tool_state string, borrowed from a previous
view of that tool. It worked great - it automatically submitted and generated
a resulting dataset when the html report/form submitted to it - UNTIL ALAS it
seems a change in history or session caused the tool form's tool_state string
to fail and trigger an error on load (I guess it encodes some stuff that
references the history panel?). Looking at
it seemed like there might be a chance to encode a dummy tool_state?
So, its a long shot, but is there a bare-bones tool_state code that doesn't
care what's in the history for any given galaxy tool?
Since this code is entirely in the html report rendering tool itself python
doesn't seem to have access to galaxy system code.
P.s. this is what the form html template looks like (borrowed mostly from the
tool's html form itself):
<form id="tool_form" name="tool_form" action="../../../tool_runner/index"
target="galaxy_main" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="refresh" value="refresh" />
<input type="hidden" name="tool_id" value="bccdcSelectSubset" />
<input type="hidden" name="tool_state"
value="800255f96366643436383763656132396561343433 ... 6471002e" />
<input type="hidden" name="input" value="%(dataset_selection_id)s" />
<input type="hidden" name="incl_excl" value="1" />
<input type="submit" class="btn btn-primary" name="runtool_btn"
value="Execute stuff" />
<input type="hidden" name="select" value="%(select_row)s" />
<tr><td><input type="checkbox" name="select" value="2"
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
To search Galaxy mailing lists use the unified search at: