def Tm_staluc(s, dnac=50, saltc=50, rna=0):
 warnings.warn(('Tm_staluc may be depreciated in the future. Use Tm_NN ' + 'instead.'), PendingDeprecationWarning)
 if (not rna):
  return Tm_NN(s, dnac1=(dnac / 2.0), dnac2=(dnac / 2.0), Na=saltc)
 elif (rna == 1):
  return Tm_NN(s, dnac1=(dnac / 2.0), dnac2=(dnac / 2.0), Na=saltc, nn_table=RNA_NN2)
 else:
  raise ValueError('rna={0} not supported'.format(rna))

def Tm_staluc ( s , dnac = 50 , saltc = 50 , rna = 0 ) : warnings . warn ( ( 'Tm_staluc may be depreciated in the future. Use Tm_NN ' + 'instead.' ) , PendingDeprecationWarning ) if ( not rna ) : return Tm_NN ( s , dnac1 = ( dnac / 2.0 ) , dnac2 = ( dnac / 2.0 ) , Na = saltc ) elif ( rna == 1 ) : return Tm_NN ( s , dnac1 = ( dnac / 2.0 ) , dnac2 = ( dnac / 2.0 ) , Na = saltc , nn_table = RNA_NN2 ) else : raise ValueError ( 'rna={0} not supported' . format ( rna ) )
returns dna/dna tm using nearest neighbor thermodynamics .