Skip to content

Commit

Permalink
Merge pull request #41 from CIAT-DAPA/develop
Browse files Browse the repository at this point in the history
fixing env var for cpt versions
  • Loading branch information
andresk159 authored Sep 8, 2023
2 parents b393f11 + 1490834 commit 70d6482
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aclimate_cpt/prediction_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,8 @@ def run_cpt(self,path_x, path_y, run, output, confi, p, type_trans):
path_pca_scores_x, path_pca_eigen_y, path_pca_load_y, path_pca_scores_y, path_cca_load_x, path_cca_cc,
path_cca_scores_x, path_cca_load_y, path_cca_scores_y, path_hit_s, path_hit_ss]


os.environ["CPT_BIN_DIR"] = "/forecast/models/CPT/15.5.10/bin/"
print(os.getenv("CPT_BIN_DIR"))
if platform.system() == "Windows":
cpt_batch = "CPT_batch.exe"
elif platform.system() == "Linux":
Expand Down

0 comments on commit 70d6482

Please sign in to comment.