Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Error in catalog directory creation #1044

Merged
merged 16 commits into from
Jul 24, 2024
5 changes: 3 additions & 2 deletions case_studies/strong_lensing/run_sim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ FINAL_OUTPUT_DIR="output"

# Catalog Directory
CATALOG_DIR="catalogs"
if [ ! -d "$OUTPUT_DIR" ]; then

if [ ! -d "$CATALOG_DIR" ]; then
mkdir -p "$CATALOG_DIR"
fi
echo "Created catalogs directory"

MAG=0.029999
# Create the output directory if it doesn't exist
Expand Down
Loading