mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Corrected unsupported 'text' datatype extensions to be the supported 'txt' extension.
This commit is contained in:
@@ -651,7 +651,7 @@ class DataToolParameter( ToolParameter ):
|
||||
>>> from galaxy.util.bunch import Bunch
|
||||
>>> hist = History()
|
||||
>>> hist.flush()
|
||||
>>> hist.add_dataset( Dataset( id=1, extension='text' ) )
|
||||
>>> hist.add_dataset( Dataset( id=1, extension='txt' ) )
|
||||
>>> hist.add_dataset( Dataset( id=2, extension='bed' ) )
|
||||
>>> hist.add_dataset( Dataset( id=3, extension='fasta' ) )
|
||||
>>> hist.add_dataset( Dataset( id=4, extension='png' ) )
|
||||
|
||||
@@ -537,7 +537,7 @@ class Universe( BaseController ):
|
||||
return trans.show_message( "<p><h2>Rename history</h2>%s" % change_msg, refresh_frames=['history'] )
|
||||
|
||||
@web.expose
|
||||
def history_add_to( self, trans, history_id=None, file_data=None, name="Data Added to History",info=None,ext="text",dbkey="?",**kwd ):
|
||||
def history_add_to( self, trans, history_id=None, file_data=None, name="Data Added to History",info=None,ext="txt",dbkey="?",**kwd ):
|
||||
"""Adds a POSTed file to a History"""
|
||||
try:
|
||||
history = trans.app.model.History.get( history_id )
|
||||
|
||||
Reference in New Issue
Block a user