#NEWLINE# @ staticmethod #NEWLINE# def _get_additional_info( weight , weight_back ) : #NEWLINE# #INDENT# info = '' #NEWLINE# if ( weight and weight_back ) : #NEWLINE# #INDENT# if ( weight_back [ 0 ] == SolarMap . WORMHOLE ) : #NEWLINE# #INDENT# [ wh_sig , wh_code , wh_size , wh_life , wh_mass , time_elapsed ] = weight_back [ 1 ] #NEWLINE# if ( wh_size == 0 ) : #NEWLINE# #INDENT# wh_size_text = 'Small' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( wh_size == 1 ) : #NEWLINE# #INDENT# wh_size_text = 'Medium' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( wh_size == 2 ) : #NEWLINE# #INDENT# wh_size_text = 'Large' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( wh_size == 3 ) : #NEWLINE# #INDENT# wh_size_text = 'X-large' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# wh_size_text = 'Unknown' #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# if ( wh_life == 1 ) : #NEWLINE# #INDENT# wh_life_text = 'Stable' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# wh_life_text = 'Critical' #NEWLINE# #UNINDENT# if ( wh_mass == 2 ) : #NEWLINE# #INDENT# wh_mass_text = 'Stable' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( wh_mass == 1 ) : #NEWLINE# #INDENT# wh_mass_text = 'Destab' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# wh_mass_text = 'Critical' #NEWLINE# #UNINDENT# #UNINDENT# info = 'Return sig: {}[{}], Size: {}, Life: {}, Mass: {}, Updated: {}h ago' . format ( wh_sig , wh_code , wh_size_text , wh_life_text , wh_mass_text , time_elapsed ) #NEWLINE# #UNINDENT# #UNINDENT# return info