Skip to content

Commit

Permalink
Added 'cosmology' as part of the window name
Browse files Browse the repository at this point in the history
  • Loading branch information
vcalderon2009 committed Feb 21, 2018
1 parent 72f05a6 commit b1f1c46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ MOCKS_CATL_DIR = $(DATA_DIR)/processed/*
# CPU-Fraction
CPU_FRAC = 0.75
REMOVE_FILES = "True"
COSMO_CHOICE="Planck"

ifeq (,$(shell which conda))
HAS_CONDA=False
Expand Down Expand Up @@ -69,7 +70,7 @@ endif

## Create catalogues for `ECO`
catl_mr_make:
@python $(SRC_DIR)/mocks_create_main.py -abopt mr -cpu $(CPU_FRAC) -remove $(REMOVE_FILES)
@python $(SRC_DIR)/mocks_create_main.py -abopt mr -cpu $(CPU_FRAC) -remove $(REMOVE_FILES) -cosmo $(COSMO_CHOICE)

## Delete existing `mock` catalogues
delete_mock_catls:
Expand Down
2 changes: 1 addition & 1 deletion src/data/mocks_create_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def file_construction_and_execution(params_pd_data, param_dict):
out_f.write(b"""### --- Variables\n""")
out_f.write(b"""ENV_NAME="eco_mocks_catls"\n""")
out_f.write( """WINDOW_NAME="ECO_RESOLVE_Mocks_create"\n""".encode())
out_f.write( """WINDOW_CATL="data_{0}"\n""".format(param_dict['catl_type']).encode())
out_f.write( """WINDOW_CATL="data_{0}_{1}"\n""".format(param_dict['catl_type'], param_dict['cosmo_choice']).encode())
out_f.write(b"""# Home Directory\n""")
out_f.write(b"""home_dir=`eval echo "~$different_user"`\n""")
out_f.write(b"""# Type of OS\n""")
Expand Down

0 comments on commit b1f1c46

Please sign in to comment.