From ff61a965a8e670be8026677b60da47ae468c93a6 Mon Sep 17 00:00:00 2001 From: "Catherine A. Martlin" Date: Tue, 26 Mar 2019 13:20:14 -0400 Subject: [PATCH] Reset to remove the uncleared notebook. Should be okay now --- .../align_multiple_visits/align_multiple_visits.ipynb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/notebooks/DrizzlePac/align_multiple_visits/align_multiple_visits.ipynb b/notebooks/DrizzlePac/align_multiple_visits/align_multiple_visits.ipynb index ec097819..96ad358c 100644 --- a/notebooks/DrizzlePac/align_multiple_visits/align_multiple_visits.ipynb +++ b/notebooks/DrizzlePac/align_multiple_visits/align_multiple_visits.ipynb @@ -92,7 +92,7 @@ " productSubGroupDescription='FLC')\n", "\n", "# Move to working directory (not necessary, but outputs will all be in the same place if this is done)\n", - "input_flcs = glob.glob(os.path.join('mastDownload', 'HST', '*', '*flc.fits'))\n", + "input_flcs = sorted(glob.glob(os.path.join('mastDownload', 'HST', '*', '*flc.fits')))\n", "for flc in input_flcs:\n", " shutil.copy(flc, os.path.basename(flc))\n", "shutil.rmtree('mastDownload') #remove mast download dir now that we've moved the files" @@ -130,8 +130,7 @@ "#Remove the second file in the W4 association to simplify this notebook example and define the input file list.\n", "\n", "os.remove('j9irw4b3q_flc.fits')\n", - "input_flcs = glob.glob('*flc.fits')\n", - "print(input_flcs)" + "input_flcs = ['j9irw3fwq_flc.fits', 'j9irw5kaq_flc.fits', 'j9irw4b1q_flc.fits']" ] }, { @@ -687,7 +686,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.6" + "version": "3.5.6" } }, "nbformat": 4,