Question: Galaxy history not showing collections
    
    0
        
Coryzaa • 10 wrote:
Hi,
I can't figure out what I'm doing wrong... trying to run a basic script that produces multiple variable outputs. All this output should be flushed back to the history and as far as I understand It would be easily doable with collections. However no matter what I try (even simple examples); the collection doesn't show in my history. Hereby my code... hopefully someone figures out what I'm doing wrong.
<tool id="splitFasta" name="FASTA: Split" version="1.0" force_history_refresh="True">
<description>This tool splits a FASTA file in chunks.</description>
<command interpreter="sh"> splitFasta.sh $input $number; mkdir test; touch test/monkey.txt </command>
  <inputs>
    <param name="input" type="data" label="Input FASTA file" help="The selected FASTA file should contain multiple sequences with a corresponding header."/>
    <param name="number" type="text" label="Number of chunks" help="The selected FASTA file will be divided into the selected number of chunks."/>
  </inputs>
  <outputs>
    <data name="log" format="log" label="Analysis log" />
    <collection name="output1" type="list" label="Split">
      <discover_datasets ext="txt" directory="test" visible="True" />
    </collection>
  </outputs>
</tool>
In this particular case my history only shows "Analysis.log".
