mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
Rename the before_edit() and after_edit() metadata related methods to be more appropriately named before_setting_metadata() and after_setting_metadata(), and add the metthods to all datatype classes. Move sorting of Bam files from the Bam set_meta() method to this new method.
This commit is contained in:
@@ -46,6 +46,7 @@ def exec_after_process(app, inp_data, out_data, param_dict, tool=None, stdout=No
|
||||
fp.close()
|
||||
#Set meta data, format file to be valid interval type
|
||||
if isinstance(data.datatype, datatypes.interval.Interval):
|
||||
data.datatype.before_setting_metadata( data )
|
||||
data.set_meta(first_line_is_header=True)
|
||||
#check for missing meta data, if all there, comment first line and process file
|
||||
if not data.missing_meta():
|
||||
|
||||
Reference in New Issue
Block a user