commit/galaxy-central: dan: Add set methods to ToolDataTableManager.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c8e9e10e1a5a/ Changeset: c8e9e10e1a5a User: dan Date: 2014-06-13 22:31:25 Summary: Add set methods to ToolDataTableManager. Affected #: 1 file diff -r 6e39473e4c51151ef71ef0f5a5e05134e5d5aaa4 -r c8e9e10e1a5a2c69e94224629e8b086112e15bff lib/galaxy/tools/data/__init__.py --- a/lib/galaxy/tools/data/__init__.py +++ b/lib/galaxy/tools/data/__init__.py @@ -34,6 +34,9 @@ def __getitem__( self, key ): return self.data_tables.__getitem__( key ) + def __setitem__( self, key, value ): + return self.data_tables.__setitem__( key, value ) + def __contains__( self, key ): return self.data_tables.__contains__( key ) @@ -43,6 +46,9 @@ except KeyError: return default + def set( self, name, value ): + self[ name ] = value + def get_tables( self ): return self.data_tables Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org