Skip to content

Commit

Permalink
Address review comments by @nsoranzo
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed May 18, 2016
1 parent 2de791c commit 0e3f910
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion lib/galaxy/datatypes/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ class Data( object ):
"""
edam_data = "data_0006"
edam_format = "format_1915"
edam_data = "data_0006"
# Data is not chunkable by default.
CHUNKABLE = False

Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/datatypes/proteomics.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class PepXml(ProteomicsXml):
file_ext = "pepxml"
blurb = 'pepXML data'
root = "msms_pipeline_analysis"


class MzML(ProteomicsXml):
"""mzML data"""
Expand Down
8 changes: 2 additions & 6 deletions lib/galaxy/datatypes/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,18 +824,14 @@ def get_upload_metadata_params( self, context, group, tool ):
def edam_formats( self ):
"""
"""
mapping = {}
for k, v in self.datatypes_by_extension.iteritems():
mapping[k] = v.edam_format
mapping = dict((k, v.edam_format) for k, v in self.datatypes_by_extension.items())
return mapping

@property
def edam_data( self ):
"""
"""
mapping = {}
for k, v in self.datatypes_by_extension.iteritems():
mapping[k] = v.edam_data
mapping = dict((k, v.edam_data) for k, v in self.datatypes_by_extension.items())
return mapping

@property
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/datatypes/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def set_meta( self, dataset, **kwd ):


class SnpEffDb( Text ):
"""Class describing a SnpEff genome build"""i
"""Class describing a SnpEff genome build"""
edam_format = "format_3624"
file_ext = "snpeffdb"
MetadataElement( name="genome_version", default=None, desc="Genome Version", readonly=True, visible=True, no_value=None )
Expand Down

0 comments on commit 0e3f910

Please sign in to comment.