Skip to content

Commit

Permalink
Merge pull request #4 from trendscenter/bbradt_transfer_patch
Browse files Browse the repository at this point in the history
Bbradt transfer patch
  • Loading branch information
bbradt authored Nov 5, 2020
2 parents 547a908 + ef4e233 commit 441069a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coinstac_mancova/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def mancova_aggregate(args):
stat_results[multivariate_out_dir] = list(
glob.glob(os.path.join(multivariate_out_dir, "**", "*.html"))
)
shutil.copytree(multivariate_out_dir, os.path.join(state["transferDirectory"], os.path.basename(multivariate_out_dir)))
except Exception as e:
ut.log(
"Multivariate analysis raised an exception, likely because of bad conditioning. More subjects are required. Full error string {err}".format(
Expand Down Expand Up @@ -199,6 +200,7 @@ def mancova_aggregate(args):
stat_results[univariate_out_dir][key] = list(
glob.glob(os.path.join(univariate_out_dir, "**", "*.html"))
)
shutil.copytree(univariate_out_dir, os.path.join(state["transferDirectory"], os.path.basename(univariate_out_dir)))
except Exception as e:
ut.log(
"Univariate analysis ({key}, {variable}) raised an exception. Full error string {err}".format(
Expand Down

0 comments on commit 441069a

Please sign in to comment.