Changeset 70 for sans/SANSReduction/branches/kline_29MAR07/Put in User Procedures/SANS_Reduction_v5.00/PlotUtils.ipf
- Timestamp:
- Mar 29, 2007 4:02:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/SANSReduction/branches/kline_29MAR07/Put in User Procedures/SANS_Reduction_v5.00/PlotUtils.ipf
r41 r70 663 663 Endif 664 664 665 String list=IndexedFile(catPathName,-1,"????") 666 String newList="",item="" 667 Variable num=ItemsInList(list,";"),ii 668 newList = list 669 for(ii=0;ii<num;ii+=1) 670 item = StringFromList(ii, list ,";") 671 if( stringmatch(item,"*.sa1*") ) 672 newlist = RemoveFromList(item,newlist,";") 673 endif 674 if( stringmatch(item,"*.sa2*") ) 675 newlist = RemoveFromList(item,newlist,";") 676 endif 677 if( stringmatch(item,"*.sa3*") ) 678 newlist = RemoveFromList(item,newlist,";") 679 endif 680 if( stringmatch(item,".*") ) //remove "hidden" files starting with "." 681 newlist = RemoveFromList(item,newlist,";") 682 endif 683 //print "ii=",ii 684 endfor 685 newList = SortList(newList,";",0) 665 String newList = ReducedDataFileList("") 666 Variable num 667 686 668 num=ItemsInList(newlist,";") 687 669 WAVE/T fileWave=$"root:myGlobals:OneDLoader:fileWave"
Note: See TracChangeset
for help on using the changeset viewer.