Skip to content

Commit

Permalink
Merge pull request #146 from FDauphin/add_calwf3_recal_tvb
Browse files Browse the repository at this point in the history
Fixed indentation error for calwf3_recal notebook
  • Loading branch information
FDauphin authored Nov 27, 2023
2 parents 4155d24 + 49057b7 commit ac1f7bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks/WFC3/calwf3_recalibration/calwf3_recal_tvb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,10 @@
"os.makedirs('orig/', exist_ok=True)\n",
"\n",
"for file_pattern in ['ibohbf*_ima.fits', 'ibohbf*_flt.fits', 'ibohbf*_drz.fits']:\n",
" for file in glob.glob(file_pattern):\n",
" destination_path = os.path.join('orig', os.path.basename(file))\n",
" for file in glob.glob(file_pattern):\n",
" destination_path = os.path.join('orig', os.path.basename(file))\n",
" if os.path.isfile(destination_path):\n",
" os.remove(destination_path)\n",
" os.remove(destination_path)\n",
" shutil.move(file, destination_path) "
]
},
Expand Down

0 comments on commit ac1f7bd

Please sign in to comment.