Changeset 824 for sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
- Timestamp:
- Jul 20, 2011 9:40:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/WorkFileUtils.ipf
r794 r824 1500 1500 //can be lots of other junk present, but this is very fast... 1501 1501 // 1502 // -- simplified to do in a single call -- extension must be .ASC 1503 // - so far, only used in WorkFileMath popups, which require .ASC 1504 // 1502 1505 Function/S ASC_FileList() 1503 1506 … … 1511 1514 Return("") 1512 1515 Endif 1513 1514 list = IndexedFile(catpathName,-1,"????") 1515 1516 list = RemoveFromList(ListMatch(list,"*.SA1*",";"), list, ";", 0) 1517 list = RemoveFromList(ListMatch(list,"*.SA2*",";"), list, ";", 0) 1518 list = RemoveFromList(ListMatch(list,"*.SA3*",";"), list, ";", 0) 1519 list = RemoveFromList(ListMatch(list,".*",";"), list, ";", 0) 1520 list = RemoveFromList(ListMatch(list,"*.pxp",";"), list, ";", 0) 1521 list = RemoveFromList(ListMatch(list,"*.DIV",";"), list, ";", 0) 1522 list = RemoveFromList(ListMatch(list,"*.GSP",";"), list, ";", 0) 1523 list = RemoveFromList(ListMatch(list,"*.MASK",";"), list, ";", 0) 1524 1525 //remove VAX version numbers 1526 list = RemoveVersNumsFromList(List) 1516 1517 list = IndexedFile(catpathName,-1,".ASC") 1518 1519 1520 // list = IndexedFile(catpathName,-1,"????") 1521 // 1522 // list = RemoveFromList(ListMatch(list,"*.SA1*",";"), list, ";", 0) 1523 // list = RemoveFromList(ListMatch(list,"*.SA2*",";"), list, ";", 0) 1524 // list = RemoveFromList(ListMatch(list,"*.SA3*",";"), list, ";", 0) 1525 // list = RemoveFromList(ListMatch(list,".*",";"), list, ";", 0) 1526 // list = RemoveFromList(ListMatch(list,"*.pxp",";"), list, ";", 0) 1527 // list = RemoveFromList(ListMatch(list,"*.DIV",";"), list, ";", 0) 1528 // list = RemoveFromList(ListMatch(list,"*.GSP",";"), list, ";", 0) 1529 // list = RemoveFromList(ListMatch(list,"*.MASK",";"), list, ";", 0) 1530 // 1531 // //remove VAX version numbers 1532 // list = RemoveVersNumsFromList(List) 1527 1533 //sort 1528 1534 newList = SortList(List,";",0)
Note: See TracChangeset
for help on using the changeset viewer.