tested to make sure the cols added dont break code
This commit is contained in:
parent
de9e6a709b
commit
80b4a1850c
2 changed files with 4 additions and 3 deletions
|
@ -657,7 +657,8 @@ def getmldata(gene, drug
|
|||
all_featuresN2 = all_featuresN + ['dst', 'dst_mode']
|
||||
all_training_df = my_df_ml[all_featuresN2]
|
||||
|
||||
print('\nAll feature names:', all_featuresN2)
|
||||
print('\nLength of all ML feature names:', len(all_featuresN2)
|
||||
, '\nAll feature names:', all_featuresN2)
|
||||
####################################################################
|
||||
|
||||
#==========================================================================
|
||||
|
@ -670,7 +671,7 @@ def getmldata(gene, drug
|
|||
#==========================================================================
|
||||
if write_outfile:
|
||||
print('\nPASS: and now writing processed file for ml:', outFile_ml)
|
||||
#all_training_df.to_csv(outFile_ml, index = False)
|
||||
all_training_df.to_csv(outFile_ml, index = False)
|
||||
else:
|
||||
print('\nPASS: But NOT writing processed file')
|
||||
#==========================================================================
|
||||
|
|
|
@ -12,7 +12,7 @@ getmldata(gene = "alr"
|
|||
, use_or = False
|
||||
, omit_all_genomic_features = False
|
||||
, write_maskfile = True
|
||||
, write_outfile = False)
|
||||
, write_outfile = True)
|
||||
|
||||
|
||||
getmldata(gene = "embB"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue