Commit 3d10e8c050eab6729dbda7cd82b9814713bda0f4

Authored by Annie Hughes
1 parent 7fbd6c8d
Exists in master

first commit

Showing 1 changed file with 50 additions and 0 deletions   Show diff stats
src/idl/dustem_make_minimal_filelist.pro 0 → 100644
... ... @@ -0,0 +1,50 @@
  1 +PRO dustem_make_minimal_filelist
  2 +
  3 + depfiles=file_search('DustEMWrap_nosys_*xcat',count=nfiles)
  4 +
  5 + for i=0,nfiles-1 do begin
  6 + if i eq 0 then st=read_xcat(depfiles[i])
  7 + if i ge 1 then begin
  8 + tmp=read_xcat(depfiles[i])
  9 + st=[st,tmp]
  10 + endif
  11 +
  12 + endfor
  13 +
  14 + st=st(sort(st.path))
  15 + st=st(uniq(st.path))
  16 +
  17 + for i=0,n_elements(st)-1 do begin
  18 + st[i].path=strmid(st[i].path,strlen(!dustem_wrap_soft_dir))
  19 + print,st[i].path
  20 + endfor
  21 + stop
  22 +
  23 +; the above will dump the list of routines to the screen.
  24 +
  25 +; after that I just cut and pasted the output to a .txt file
  26 +; dustem_minimal_filelist.txt
  27 +
  28 +; which I moved to !dustem_wrap_soft_dir
  29 +
  30 +; then I changed wd to !dustem_wrap_soft_dir
  31 +
  32 +; then I added the top level .txt and .xcat files, i.e.
  33 +; ls README.txt >> dustem_minimal_filelist.txt
  34 +; ls instrument_description.xcat >> dustem_minimal_filelist.txt
  35 +
  36 +; for now I left out the Docs
  37 +
  38 +; then I added the contents of Data using
  39 +; find Data -type f >> dustem_minimal_filelist.txt
  40 +
  41 +; and manually removed a few transmission files that I knew were not
  42 +; in the repo (MIRI/*_trans.fits) or tmp files ~file~, #file# type things
  43 +
  44 +; and finally to make the tarball I ran
  45 +; tar cvf dustemwrap_minimal.tar -T dustem_minimal_filelist.txt
  46 +
  47 +
  48 + the_end:
  49 +
  50 +END
... ...