Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrei committed Sep 21, 2020
1 parent e903332 commit dab4749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precimed/mixer/figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def execute_one_parser(args):
for ext in args.ext:
plt.savefig(args.out + '.power.' + ext, bbox_inches='tight')
print('Generated ' + args.out + '.power.' + ext)
pd.concat([pd.DataFrame({'trait':[trait for i in data['power']['nvec']], 'nvec':data['power']['nvec'], 'svec':data['power']['nvec']}) for data, trait in zip(data_list, traits_list)]).to_csv(args.out + '.power.csv', sep='\t', index=False)
pd.concat([pd.DataFrame({'trait':[trait for i in data['power']['nvec']], 'nvec':data['power']['nvec'], 'svec':data['power']['svec']}) for data, trait in zip(data_list, traits_list)]).to_csv(args.out + '.power.csv', sep='\t', index=False)
else:
print('Skip generating power plots, data not available. Did you include --power-curve in your "python mixer.py fit" command?')

Expand Down

0 comments on commit dab4749

Please sign in to comment.