Changeset 4131


Ignore:
Timestamp:
Sep 2, 2019 10:29:27 AM (4 years ago)
Author:
toby
Message:

restore videos, deal with failure to test if box.com files are present

Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • Tutorials/BkgFit/FitBkgTut.htm

    r3552 r4131  
    877877
    878878<P><B>A video version of this tutorial is available at
    879 <A href="https://anl.box.com/v/FitBkgTut" target="_blank">
    880 https://anl.box.com/v/FitBkgTut</A></B></P>
     879<A href="https://anl.box.com/v/FitBkgTut---" target="_blank">
     880https://anl.box.com/v/FitBkgTut---</A></B></P>
    881881
    882882<h2><span style='mso-fareast-font-family:"Times New Roman"'>Introduction:<o:p></o:p></span></h2>
  • Tutorials/FitPeaks/Fit Peaks.htm

    r3780 r4131  
    14581458
    14591459<P><B>A video version of this tutorial is available at
    1460 <A href="https://anl.box.com/v/FitPeaks" target="_blank">
    1461 https://anl.box.com/v/FitPeaks</A></B></P>
     1460<A href="https://anl.box.com/v/FitPeaks----" target="_blank">
     1461https://anl.box.com/v/FitPeaks----</A></B></P>
    14621462 
    14631463<p class=MsoNormal>In this exercise you will use GSAS-II to search for a unit
  • Tutorials/LabData/Laboratory X.htm

    r3989 r4131  
    13121312
    13131313<P><B>A video version of this tutorial is available at
    1314 <A href="https://anl.box.com/v/LaboratoryX" target="_blank">
    1315 https://anl.box.com/v/LaboratoryX</A></B></P>
     1314<A href="https://anl.box.com/v/LaboratoryX-" target="_blank">
     1315https://anl.box.com/v/LaboratoryX-</A></B></P>
    13161316
    13171317<p class=MsoNormal>In this tutorial you will refine the structure of <span
  • Tutorials/Simulation/SimTutorial.htm

    r3918 r4131  
    534534
    535535<P><B>A video version of this tutorial is available at
    536 <A href="https://anl.box.com/v/SimTutorial" target="_blank">
    537 https://anl.box.com/v/SimTutorial</A></B></P>
     536<A href="https://anl.box.com/v/SimTutorial-" target="_blank">
     537https://anl.box.com/v/SimTutorial-</A></B></P>
    538538
    539539<p class=MsoNormal><span style='font-size:12.0pt;mso-fareast-font-family:"Times New Roman";
  • trunk/help/Tutorials.html

    r4111 r4131  
    2121<blockquote><I>This shows a simple Rietveld refinement with constraints from CW neutron powder diffraction data.</I></blockquote>
    2222<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/LabData/Laboratory X.htm">Fitting laboratory X-ray powder data for fluoroapatite</A>
    23  [links: <A href="https://anl.box.com/v/LaboratoryX">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/LabData/data">Exercise files</A>].
     23 [links: <A href="https://anl.box.com/v/LaboratoryX-">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/LabData/data">Exercise files</A>].
    2424<blockquote><I>This shows a simple Rietveld refinement with CuKa lab Bragg-Brentano powder data.</I></blockquote>
    2525<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/CWCombined/Combined refinement.htm">Combined X-ray/CW-neutron refinement of PbSO4</A>
     
    3131<blockquote><I>This shows Rietveld refinement with high resolution synchrotron powder data and neutron TOF data</I></blockquote>
    3232<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/Simulation/SimTutorial.htm">Simulating Powder Diffraction with GSAS-II</A>
    33  [links: <A href="https://anl.box.com/v/SimTutorial">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/Simulation/data">Exercise files</A>].
     33 [links: <A href="https://anl.box.com/v/SimTutorial-">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/Simulation/data">Exercise files</A>].
    3434<blockquote><I>This show how to create a simulated powder pattern from a lab diffractometer.</I></blockquote>
    3535<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/BkgFit/FitBkgTut.htm">Fitting the Starting Background using Fixed Points</A>
    36  [links: <A href="https://anl.box.com/v/FitBkgTut">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/BkgFit/data">Exercise files</A>].
     36 [links: <A href="https://anl.box.com/v/FitBkgTut---">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/BkgFit/data">Exercise files</A>].
    3737<blockquote><I>This shows how to get an initial estimate of background parameters from a suite of fixed points
    3838     before beginning Rietveld refinement.</I></blockquote>
     
    4545</UL><h4>Magnetic Structure Analysis</H4><UL>
    4646<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SimpleMagnetic/SimpleMagnetic.htm">Simple Magnetic Structure Analysis</A>
    47  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SimpleMagnetic/data">Exercise files</A>].
     47 [links: <A href="https://anl.box.com/v/SimpleMagnetic">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SimpleMagnetic/data">Exercise files</A>].
    4848<blockquote><I>Analysis of a simple antiferromagnet and a simple ferromagnet from CW neutron powder data</I></blockquote>
    4949<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/Magnetic-I/Magnetic Structures-I.htm">Magnetic Structure Analysis-I</A>
     
    6464</UL><h4>Parametric sequential fitting</H4><UL>
    6565<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SeqRefine/SequentialTutorial.htm">Sequential refinement of multiple datasets</A>
    66  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SeqRefine/data">Exercise files</A>].
     66 [links: <A href="https://anl.box.com/v/SequentialTutorial">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SeqRefine/data">Exercise files</A>].
    6767<blockquote><I>This shows the fitting of a structural model to multiple data sets collected as a function of temperature (7-300K).
    6868     This tutorial is the prerequisite for the next one.</I></blockquote>
    6969<UL><LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SeqParametric/ParametricFitting.htm">Parametric Fitting and Pseudo Variables for Sequential Fits</A> <A href="#prereq">*</A>
    70  [no example data or video].
     70 [link: <A href="https://anl.box.com/v/ParametricFitting">video</A>, no example data].
    7171<blockquote><I>This explores the results of the sequential refinement obtained in the previous tutorial; includes
    7272     plotting of variables and fitting the changes with simple equations.</I></blockquote>
    7373</UL>
    7474<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/TOF Sequential Single Peak Fit/TOF Sequential Single Peak Fit.htm">Sequential fitting of single peaks and strain analysis of result</A>
    75  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/TOF Sequential Single Peak Fit/data">Exercise files</A>].
     75 [links: <A href="https://anl.box.com/v/TOFSequentialSinglePeakFit">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/TOF Sequential Single Peak Fit/data">Exercise files</A>].
    7676<blockquote><I>This shows the fitting of single peaks in a sequence of TOF powder patterns from a sample under load; includes
    7777      fitting of the result to get Hookes Law coefficients for elastic deformations.</I></blockquote>
    7878</UL><h4>Structure solution</H4><UL>
    7979<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/FitPeaks/Fit Peaks.htm">Fitting individual peaks & autoindexing</A>
    80  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/FitPeaks/data">Exercise files</A>].
     80 [links: <A href="https://anl.box.com/v/FitPeaks----">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/FitPeaks/data">Exercise files</A>].
    8181<blockquote><I>This covers two examples of selecting individual powder diffraction peaks, fitting them and then
    8282     indexing to determine the crystal lattice and possible space group. This is the prerequisite for the next two tutorials.</I></blockquote>
     
    104104</UL><h4>Stacking Fault Modeling</H4><UL>
    105105<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/StackingFaults-I/Stacking Faults-I.htm">Stacking fault simulations for diamond</A>
    106  [no example data or video].
     106 [link: <A href="https://anl.box.com/v/StackingFaults-I">video</A>, no example data].
    107107<blockquote><I>This shows how to simulate the diffraction patterns from faulted diamond.</I></blockquote>
    108108<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/StackingFaults-II/Stacking Faults II.htm">Stacking fault simulations for Keokuk kaolinite</A>
     
    114114</UL><h4>Powder diffractometer calibration</H4><UL>
    115115<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/CWInstDemo/FindProfParamCW.htm">Determining Starting Profile Parameters from a Standard</A>
    116  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/CWInstDemo/data">Exercise files</A>].
     116 [links: <A href="https://anl.box.com/v/FindProfParamCW">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/CWInstDemo/data">Exercise files</A>].
    117117<blockquote><I>This shows how to determine profile parameters by fitting individual peaks
    118118        with data collected on a standard using a lab diffractometer.</I></blockquote>
     
    124124     Input is formulated to use FPA values similar to those in Topas.</I></blockquote>
    125125<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/TOF Calibration/Calibration of a TOF powder diffractometer.htm">Calibration of a Neutron TOF diffractometer</A>
    126  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/TOF Calibration/data">Exercise files</A>].
     126 [links: <A href="https://anl.box.com/v/CalibrationofaTOFpowderdiffrac">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/TOF Calibration/data">Exercise files</A>].
    127127<blockquote><I>This uses the fitted positions of all visible peaks in a pattern of NIST SRM 660b La11B6
    128128     (a=4.15689Ã
     
    133133</UL><h4>2D Image Processing</H4><UL>
    134134<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DCalibration/Calibration of an area detector in GSAS.htm">Calibration of an area detector</A>
    135  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DCalibration/data">Exercise files</A>].
     135 [links: <A href="https://anl.box.com/v/CalibrationofanareadetectorinG">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DCalibration/data">Exercise files</A>].
    136136<blockquote><I>A demonstration of calibrating a Perkin-Elmer area detector,  where the detector was intentionally tilted at 45 degrees.
    137137     This exercise is the prerequisite for the next one.</I></blockquote>
    138138<UL><LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DIntegration/Integration of area detector data in GSAS.htm">Integration of area detector data</A> <A href="#prereq">*</A>
    139  [no example data or video].
     139 [link: <A href="https://anl.box.com/v/Integrationofareadetectordatai">video</A>, no example data].
    140140<blockquote><I>Integration of the image from a Perkin-Elmer area detector, where the detector was intentionally tilted at 45 degrees.</I></blockquote>
    141141</UL>
    142142<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DStrain/Strain fitting of 2D data in GSAS-II.htm">Strain fitting of 2D data</A>
    143  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DStrain/data">Exercise files</A>].
     143 [links: <A href="https://anl.box.com/v/Strainfittingof2DdatainGSAS-II">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DStrain/data">Exercise files</A>].
    144144<blockquote><I>This show how to determine 3 strain tensor values using the method of He & Smith (Adv. in X-ray Anal. 41, 501, 1997)
    145145     directly froom a sequence of 2D imges from a loaded sample.</I></blockquote>
    146146<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DTexture/Texture analysis of 2D data in GSAS-II.htm">Texture analysis of 2D data</A>
    147  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DTexture/data">Exercise files</A>].
     147 [links: <A href="https://anl.box.com/v/Textureanalysisof2DdatainGSAS-">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/2DTexture/data">Exercise files</A>].
    148148<blockquote><I>This shows 3 different methods for determining texture via spherical harmonics from 2D x-ray diffraction images. </I></blockquote>
    149149<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/DeterminingWavelength.html">Area Detector Calibration with Multiple Distances: Determine Wavelength</A>
    150  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/data">Exercise files</A>].
     150 [links: <A href="https://anl.box.com/v/DeterminingWavelength">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/DeterminingWavelength/data">Exercise files</A>].
    151151<blockquote><I>To get an accurate wavelength, without knowing the sample-to-detector distance accurately, images recorded with
    152152     several different distances can be used. This exercise shows how to determine the wavelength from such a series.
    153153     This exercise is the prerequisite for the next one.</I></blockquote>
    154154<UL><LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/CalibrationTutorial/CalibrationTutorial.html">Area Detector Calibration with Multiple Distances: Calibrate Detector Distances</A> <A href="#prereq">*</A>
    155  [no example data or video].
     155 [link: <A href="https://anl.box.com/v/CalibrationTutorial">video</A>, no example data].
    156156<blockquote><I>To get an accurate wavelength, without knowing the sample-to-detector distance accurately, images recorded with
    157157     several different distances can be used. After using the previous exercise to determine the wavelength,
     
    161161</UL><h4>Small-Angle Scattering</H4><UL>
    162162<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAsize/Small Angle Size Distribution.htm">Small angle x-ray data size distribution (alumina powder)</A>
    163  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAsize/data">Exercise files</A>].
     163 [links: <A href="https://anl.box.com/v/SmallAngleSizeDistribution">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAsize/data">Exercise files</A>].
    164164<blockquote><I>This shows how to determine the size distribution of particles using data from a constant
    165165     wavelength synchrotron X-ray USAXS instrument. This is the prerequisite for the next tutorial</I></blockquote>
    166166<UL><LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAfit/Fitting Small Angle Scattering Data.htm">Fitting small angle x-ray data (alumina powder)</A> <A href="#prereq">*</A>
    167  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAfit/data">Exercise files</A>].
     167 [links: <A href="https://anl.box.com/v/FittingSmallAngleScatteringDat">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAfit/data">Exercise files</A>].
    168168<blockquote><I>This shows how to fit small angle scattering data using data from a constant wavelength synchrotron X-ray USAXS instrument. </I></blockquote>
    169169</UL>
    170170<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAimages/Small Angle Image Processing.htm">Image Processing of small angle x-ray data</A>
    171  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAimages/data">Exercise files</A>].
     171 [links: <A href="https://anl.box.com/v/SmallAngleImageProcessing">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAimages/data">Exercise files</A>].
    172172<blockquote><I>This shows how to  reduce 2D SAXS data to create 1D absolute scaled data. </I></blockquote>
    173173<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAseqref/Sequential Refinement of Small Angle Scattering Data.htm">Sequential refinement with small angle scattering data</A>
    174  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAseqref/data">Exercise files</A>].
     174 [links: <A href="https://anl.box.com/v/SequentialRefinementofSmallAng">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/SAseqref/data">Exercise files</A>].
    175175<blockquote><I>This shows how to fit USAXS small angle scattering data for a suite of samples to demonstrate the
    176176     sequential refinement technique in GSAS-II for SASD and demonstrates fitting with a hard sphere structure
     
    178178</UL><h4>Other</H4><UL>
    179179<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/MerohedralTwins/Merohedral twin refinement in GSAS.htm">Merohedral twin refinements</A>
    180  [link: <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/MerohedralTwins/data">Exercise files</A>].
     180 [links: <A href="https://anl.box.com/v/MerohedraltwinrefinementinGSAS">video</A>, <A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/MerohedralTwins/data">Exercise files</A>].
    181181<blockquote><I>This shows how to use GSAS-II to refine the structure of a few single crystal structures where there is merohedral twinning. </I></blockquote>
    182182<LI><A href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/TOF Single Crystal Refinement/TOF single crystal refinement in GSAS.htm">Single crystal refinement from TOF data</A>
     
    197197<UL><LI><A href="https://anl.box.com/v/StartingGSAS">Starting GSAS-II</A></LI>
    198198<LI><A href="https://anl.box.com/v/NeutronCWPowderData">CW Neutron Powder fit for Yttrium-Iron Garnet</A></LI>
    199 <LI><A href="https://anl.box.com/v/LaboratoryX">Fitting laboratory X-ray powder data for fluoroapatite</A></LI>
     199<LI><A href="https://anl.box.com/v/LaboratoryX-">Fitting laboratory X-ray powder data for fluoroapatite</A></LI>
    200200<LI><A href="https://anl.box.com/v/Combinedrefinement">Combined X-ray/CW-neutron refinement of PbSO4</A></LI>
    201201<LI><A href="https://anl.box.com/v/TOFcombinedXNRietveldrefinemen">Combined X-ray/TOF-neutron Rietveld refinement</A></LI>
    202 <LI><A href="https://anl.box.com/v/SimTutorial">Simulating Powder Diffraction with GSAS-II</A></LI>
    203 <LI><A href="https://anl.box.com/v/FitBkgTut">Fitting the Starting Background using Fixed Points</A></LI>
     202<LI><A href="https://anl.box.com/v/SimTutorial-">Simulating Powder Diffraction with GSAS-II</A></LI>
     203<LI><A href="https://anl.box.com/v/FitBkgTut---">Fitting the Starting Background using Fixed Points</A></LI>
     204<LI><A href="https://anl.box.com/v/SimpleMagnetic">Simple Magnetic Structure Analysis</A></LI>
     205<LI><A href="https://anl.box.com/v/SequentialTutorial">Sequential refinement of multiple datasets</A></LI>
     206<LI><A href="https://anl.box.com/v/ParametricFitting">Parametric Fitting and Pseudo Variables for Sequential Fits</A></LI>
     207<LI><A href="https://anl.box.com/v/TOFSequentialSinglePeakFit">Sequential fitting of single peaks and strain analysis of result</A></LI>
     208<LI><A href="https://anl.box.com/v/FitPeaks----">Fitting individual peaks & autoindexing</A></LI>
     209<LI><A href="https://anl.box.com/v/StackingFaults-I">Stacking fault simulations for diamond</A></LI>
     210<LI><A href="https://anl.box.com/v/FindProfParamCW">Determining Starting Profile Parameters from a Standard</A></LI>
     211<LI><A href="https://anl.box.com/v/CalibrationofaTOFpowderdiffrac">Calibration of a Neutron TOF diffractometer</A></LI>
     212<LI><A href="https://anl.box.com/v/CalibrationofanareadetectorinG">Calibration of an area detector</A></LI>
     213<LI><A href="https://anl.box.com/v/Integrationofareadetectordatai">Integration of area detector data</A></LI>
     214<LI><A href="https://anl.box.com/v/Strainfittingof2DdatainGSAS-II">Strain fitting of 2D data</A></LI>
     215<LI><A href="https://anl.box.com/v/Textureanalysisof2DdatainGSAS-">Texture analysis of 2D data</A></LI>
     216<LI><A href="https://anl.box.com/v/DeterminingWavelength">Area Detector Calibration with Multiple Distances: Determine Wavelength</A></LI>
     217<LI><A href="https://anl.box.com/v/CalibrationTutorial">Area Detector Calibration with Multiple Distances: Calibrate Detector Distances</A></LI>
     218<LI><A href="https://anl.box.com/v/SmallAngleSizeDistribution">Small angle x-ray data size distribution (alumina powder)</A></LI>
     219<LI><A href="https://anl.box.com/v/FittingSmallAngleScatteringDat">Fitting small angle x-ray data (alumina powder)</A></LI>
     220<LI><A href="https://anl.box.com/v/SmallAngleImageProcessing">Image Processing of small angle x-ray data</A></LI>
     221<LI><A href="https://anl.box.com/v/SequentialRefinementofSmallAng">Sequential refinement with small angle scattering data</A></LI>
     222<LI><A href="https://anl.box.com/v/MerohedraltwinrefinementinGSAS">Merohedral twin refinements</A></LI>
    204223</UL>
    205224
  • trunk/makeTutorial.py

    r3749 r4131  
    1919from __future__ import print_function
    2020import os
    21 import requests
     21#import requests
    2222import GSASIIpath
    2323#import GSASIIctrl as G2G
     24onlineVideos = []
     25'''a list of videos that are in box, since I don't know how to check if they
     26are present anymore
     27'''
     28onlineVideos.append('https://anl.box.com/v/CalibrationofanareadetectorinG')
     29onlineVideos.append('https://anl.box.com/v/CalibrationTutorial')
     30onlineVideos.append('https://anl.box.com/v/CalibrationofaTOFpowderdiffrac')
     31onlineVideos.append('https://anl.box.com/v/Combinedrefinement')
     32onlineVideos.append('https://anl.box.com/v/TOFcombinedXNRietveldrefinemen')
     33onlineVideos.append('https://anl.box.com/v/NeutronCWPowderData')
     34onlineVideos.append('https://anl.box.com/v/FindProfParamCW')
     35onlineVideos.append('https://anl.box.com/v/DeterminingWavelength')
     36onlineVideos.append('https://anl.box.com/v/FitPeaks----')
     37onlineVideos.append('https://anl.box.com/v/LaboratoryX-')
     38onlineVideos.append('https://anl.box.com/v/FittingSmallAngleScatteringDat')
     39onlineVideos.append('https://anl.box.com/v/FitBkgTut---')
     40onlineVideos.append('https://anl.box.com/v/SmallAngleImageProcessing')
     41onlineVideos.append('https://anl.box.com/v/Integrationofareadetectordatai')
     42onlineVideos.append('https://anl.box.com/v/MerohedraltwinrefinementinGSAS')
     43onlineVideos.append('https://anl.box.com/v/ParametricFitting')
     44onlineVideos.append('https://anl.box.com/v/SequentialRefinementofSmallAng')
     45onlineVideos.append('https://anl.box.com/v/SequentialTutorial')
     46onlineVideos.append('https://anl.box.com/v/SimpleMagnetic')
     47onlineVideos.append('https://anl.box.com/v/SimTutorial-')
     48onlineVideos.append('https://anl.box.com/v/SmallAngleSizeDistribution')
     49onlineVideos.append('https://anl.box.com/v/StackingFaults-I')
     50onlineVideos.append('https://anl.box.com/v/StartingGSAS')
     51onlineVideos.append('https://anl.box.com/v/Strainfittingof2DdatainGSAS-II')
     52onlineVideos.append('https://anl.box.com/v/Textureanalysisof2DdatainGSAS-')
     53onlineVideos.append('https://anl.box.com/v/TOFSequentialSinglePeakFit')
     54#onlineVideos.append('
    2455
    2556if __name__ == '__main__':
     
    71102           
    72103            # check for video tutorial
    73             vname = 'https://anl.box.com/v/' + os.path.splitext(l[1])[0].replace(' ','')[:30]
    74             if requests.get(vname).status_code == 200:
     104            videoName = '{:-<12s}'.format(
     105                os.path.splitext(l[1])[0].replace(' ','')[:30])           
     106            vname = 'https://anl.box.com/v/{}'.format(videoName)
     107            #if requests.get(vname).status_code == 200:
     108            if vname in onlineVideos:
    75109                video = '<A href="{}">video</A>'.format(vname)
    76110                #print(' [link: <A href="{}">video</A>]'.format(vname),file=out)
     
    79113            else:
    80114                video =''
    81                 print('No video for',vname)
     115                print('No video for {:45s}{}'.format(videoName,l[2]))
    82116            # check for data
    83117            if GSASIIpath.svnList(dataURL,False):
Note: See TracChangeset for help on using the changeset viewer.