Changeset 917


Ignore:
Timestamp:
Apr 10, 2020 10:08:31 AM (2 years ago)
Author:
ilavsky
Message:

Fix for bug introduced in Control Procedures.

Location:
trunk/User Procedures
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/User Procedures/Indra 2/IN2_GeneralProcedures.ipf

    r914 r917  
    681681//************************************************************************************************
    682682//************************************************************************************************
    683        
    684        
    685683threadsafe Function IN2G_FindNumericalIndexForSorting(StrnameIn)
    686684        string StrnameIn
  • trunk/User Procedures/Irena/IR1_Main.ipf

    r914 r917  
    154154                "Merge two data sets", IR3D_DataMerging()
    155155                help={"Merge two data sets - two segments at different q ranges"}
    156                 "Metadata Browser", IR3B_MetadataBrowser()
    157                 help={"Tool to extarct quickly metadata stored in wave notes"}
    158156                "Data mining [extract information]", IR2M_GetDataMiner()
    159157                help={"Data miner to find various data and plot various waves"}
    160158        end
     159        "Metadata Browser", IR3B_MetadataBrowser()
     160        help={"Tool to extarct quickly metadata stored in wave notes"}
    161161        "---"
    162162        "Plotting I", IR1P_GeneralPlotTool()
  • trunk/User Procedures/Irena/IR2_PanelCntrlProcs.ipf

    r915 r917  
    29192919        SVAR DataSelSortString = $(CntrlLocation+":DataSelSortString")
    29202920        variable i
     2921        if(numpnts(WaveOfFiles)<2)
     2922                return 0
     2923        endif
    29212924//      string/g SortOptionsString="Sort;Inv_Sort;Sort _XYZ;Inv Sort _XYZ;"
    29222925        Duplicate/Free WaveOfSelections, TempWv
     
    39543957        elseif(stringMatch(FolderSortString,"Reverse Alphabetical"))
    39553958                Sort /A /R ListOfAvailableData, ListOfAvailableData
    3956         elseif(stringMatch(FolderSortString,"_xyz"))
     3959        elseif(stringMatch(FolderSortString,"_xyz")&&(numpnts(ListOfAvailableData)>2))
    39573960                        //For(i=0;i<numpnts(TempWv);i+=1)
    39583961                TempWv = IN2G_FindNumericalIndexForSorting(ListOfAvailableData[i])
Note: See TracChangeset for help on using the changeset viewer.