plt.rcParams['svg.fonttype'] = 'none' # In[2]: sys.path.append( '/Users/lindenmp/Google-Drive-Penn/work/research_projects/normative_neurodev_cs_t1/1_code/' ) from func import set_proj_env, my_get_cmap, get_fdr_p # In[3]: train_test_str = 'train_test' exclude_str = 't1Exclude' # 't1Exclude' 'fsFinalExclude' parc_str = 'schaefer' # 'schaefer' 'lausanne' parc_scale = 400 # 200 400 | 60 125 250 parcel_names, parcel_loc, drop_parcels, num_parcels, yeo_idx, yeo_labels = set_proj_env( exclude_str=exclude_str, parc_str=parc_str, parc_scale=parc_scale) # In[4]: # output file prefix outfile_prefix = exclude_str + '_' + parc_str + '_' + str(parc_scale) + '_' outfile_prefix # ### Setup directory variables # In[5]: figdir = os.path.join(os.environ['OUTPUTDIR'], 'figs') print(figdir) if not os.path.exists(figdir): os.makedirs(figdir)
# In[2]: sys.path.append( '/Users/lindenmp/Google-Drive-Penn/work/research_projects/normative_neurodev_cs_t1/1_code/' ) from func import set_proj_env, my_get_cmap, rank_int # In[3]: train_test_str = 'squeakycleanExclude' exclude_str = 't1Exclude' # 't1Exclude' 'fsFinalExclude' parc_str = 'schaefer' # 'schaefer' 'lausanne' parc_scale = 400 # 200 400 | 60 125 250 _ = set_proj_env(exclude_str=exclude_str, parc_str=parc_str, parc_scale=parc_scale) # In[4]: # output file prefix outfile_prefix = exclude_str + '_' outfile_prefix # ### Setup directory variables # In[5]: print(os.environ['PIPELINEDIR']) if not os.path.exists(os.environ['PIPELINEDIR']): os.makedirs(os.environ['PIPELINEDIR'])