Skip to content

Commit

Permalink
Changed phenotype pharse in log to trait. Final push before relase.
Browse files Browse the repository at this point in the history
  • Loading branch information
omeed-maghzian committed Apr 7, 2017
1 parent fa38fce commit 7444190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mtag.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,9 @@ def save_mtag_results(args,results_template,Zs,Ns, Fs,mtag_betas,mtag_se):
out_df['mtag_pval'] = p_values(out_df['mtag_z'])

if P == 1:
out_path = args.out +'_phenotype.txt'
out_path = args.out +'trait.txt'
else:
out_path = args.out +'_phenotype_' + str(p+1) + '.txt'
out_path = args.out +'trait_' + str(p+1) + '.txt'
out_df.to_csv(out_path,sep='\t', index=False)

if not args.equal_h2:
Expand Down

0 comments on commit 7444190

Please sign in to comment.