Skip to content

Commit

Permalink
Small Error in catalog directory creation (#1044)
Browse files Browse the repository at this point in the history
* Added data simulation files. run.sh is the run script that executes the entire pipeline. Run script is still a draft as there are more parameters needed to be added and lensed galaxies parameters to be added to config file.

* final version of data generation script

* reformatted files for repo checks

* styling updates

* pylint style checks

* style fixes

* more styling fixes

* jeff's reviews minus the psf

* added new DES focused psf

* small changes based on encoder code

* jeff review changes

* got rid of log file and changed final output directory name

* small bug in catalog dir creation

---------

Co-authored-by: Eshan Jain <[email protected]>
  • Loading branch information
eshanjain1 and Eshan Jain authored Jul 24, 2024
1 parent 2cefde4 commit 1db2ad4
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 1db2ad4

Please sign in to comment.