Blame view

src/idl/dustem_make_minimal_filelist.pro 1.76 KB
3d10e8c0   Annie Hughes   first commit
1
2
PRO dustem_make_minimal_filelist

6f5410a4   Annie Hughes   added simplistic ...
3
  depfiles=file_search('DustEMWrap_dependencies.xcat',count=nfiles)
3d10e8c0   Annie Hughes   first commit
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

  for i=0,nfiles-1 do begin
     if i eq 0 then st=read_xcat(depfiles[i])
     if i ge 1 then begin
        tmp=read_xcat(depfiles[i])
        st=[st,tmp]
     endif
        
  endfor

  st=st(sort(st.path))
  st=st(uniq(st.path))
  
  for i=0,n_elements(st)-1 do begin
     st[i].path=strmid(st[i].path,strlen(!dustem_wrap_soft_dir))
     print,st[i].path
  endfor
  stop

6f5410a4   Annie Hughes   added simplistic ...
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
  udepfiles=file_search('DustEMWrap_unused_routines.xcat',count=unfiles)

  for i=0,unfiles-1 do begin
     if i eq 0 then st=read_xcat(udepfiles[i])
     if i ge 1 then begin
        tmp=read_xcat(udepfiles[i])
        st=[st,tmp]
     endif
        
  endfor

  st=st(sort(st.path))
  st=st(uniq(st.path))
  
  for i=0,n_elements(st)-1 do begin
     st[i].path=strmid(st[i].path,strlen(!dustem_wrap_soft_dir))
     print,st[i].path
  endfor

  stop

 
  
3d10e8c0   Annie Hughes   first commit
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
; the above will dump the list of routines to the screen.

; after that I just cut and pasted the output to a .txt file
; dustem_minimal_filelist.txt

; which I moved to !dustem_wrap_soft_dir

; then I changed wd to !dustem_wrap_soft_dir

; then I added the top level .txt and .xcat files, i.e.
; ls README.txt >>  dustem_minimal_filelist.txt
; ls instrument_description.xcat >>  dustem_minimal_filelist.txt

; for now I left out the Docs

; then I added the contents of Data using
; find Data -type f >> dustem_minimal_filelist.txt  

; and manually removed a few transmission files that I knew were not
; in the repo (MIRI/*_trans.fits) or tmp files  ~file~, #file# type things

; and finally to make the tarball I ran
; tar cvf dustemwrap_minimal.tar -T dustem_minimal_filelist.txt
eef37ef9   Annie Hughes   do not remember, ...
69
; tar cvf DustEMWrap_v4p3.tar -T dustem_release_files.txt
3d10e8c0   Annie Hughes   first commit
70
71
72
73
74
  
  
  the_end:
  
END