[Swift-commit] r2136 - SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/permutations/scripts
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Fri Jul 18 13:17:36 CDT 2008
Author: skenny
Date: 2008-07-18 13:17:35 -0500 (Fri, 18 Jul 2008)
New Revision: 2136
Added:
SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/permutations/scripts/cat_sort.py
Log:
sorts something or other
Added: SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/permutations/scripts/cat_sort.py
===================================================================
--- SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/permutations/scripts/cat_sort.py (rev 0)
+++ SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/permutations/scripts/cat_sort.py 2008-07-18 18:17:35 UTC (rev 2136)
@@ -0,0 +1,16 @@
+#!/usr/bin/python
+
+import os
+import sys
+import commands
+
+
+brains = range(3,3001)
+
+os.chdir(os.getenv("cnari")+"/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/permutations/")
+print os.getcwd()
+
+for id in brains:
+ print "brain: "+`id`
+ commands.getoutput("cat "+`id`+"PermFriedman* | sort -g -k 1 > brain_"+`id`+"PermFriedman.txt")
+ commands.getoutput("rm -rf "+`id`+"PermFriedman*")
More information about the Swift-commit
mailing list