Did I find the right examples for you? yes no

All Samples(84)  |  Call(59)  |  Derive(0)  |  Import(25)

src/q/i/qiime-1.8.0/scripts/make_distance_histograms.py   qiime(Download)
    draw_all_histograms, _make_relative_paths, make_main_html, \
    monte_carlo_group_distances, monte_carlo_group_distances_within_between
from cogent.util.misc import get_random_directory_name
from qiime.colors import sample_color_prefs_and_map_data_from_options,\
    iter_color_groups
        dmatrix_file=opts.distance_matrix_file,\
        fields=fields,\
        dir_prefix=get_random_directory_name(output_dir=opts.dir_path,\
            prefix='distances'))
 

src/q/i/qiime-1.8.0/scripts/make_3d_plots.py   qiime(Download)
from qiime.biplots import get_taxa,get_taxa_coords,get_taxa_prevalence,\
    remove_rare_taxa, make_mage_taxa, make_biplot_scores_output
from cogent.util.misc import get_random_directory_name
import numpy as np
 
    jar_path=os.path.join(qiime_dir,'qiime/support_files/jar/')
 
    data_dir_path = get_random_directory_name(output_dir=dir_path,
                                              return_absolute_path=False)    
 

src/q/i/qiime-1.8.0/scripts/compare_3d_plots.py   qiime(Download)
from time import strftime
from qiime.util import get_qiime_project_dir
from cogent.util.misc import get_random_directory_name
options_lookup = get_options_lookup()                                
 
    jar_path=os.path.join(qiime_dir,'qiime/support_files/jar/')
 
    data_dir_path = get_random_directory_name(output_dir=dir_path,
                                              return_absolute_path=False)    
 

src/c/o/cogent-1.5.3/tests/test_util/test_misc.py   cogent(Download)
from cogent.app.util import get_tmp_filename
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import (iterable, max_index, min_index,
    flatten, is_iterable, is_char, is_char_or_noniterable,
    is_str_or_noniterable, not_list_tuple, list_flatten,
    def test_create_dir(self):
        """create_dir creates dir and fails meaningful."""
 
        tmp_dir_path = get_random_directory_name()
        tmp_dir_path2 = get_random_directory_name(suppress_mkdir=True)
        tmp_dir_path3 = get_random_directory_name(suppress_mkdir=True)
        dirs = []
        for i in range(100):
            d = get_random_directory_name(suppress_mkdir=True)
            self.assertTrue(d not in dirs)
            dirs.append(d)

src/p/y/pycogent-HEAD/tests/test_util/test_misc.py   pycogent(Download)
from cogent.app.util import get_tmp_filename
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import (iterable, max_index, min_index,
    flatten, is_iterable, is_char, is_char_or_noniterable,
    is_str_or_noniterable, not_list_tuple, list_flatten,
    def test_create_dir(self):
        """create_dir creates dir and fails meaningful."""
 
        tmp_dir_path = get_random_directory_name()
        tmp_dir_path2 = get_random_directory_name(suppress_mkdir=True)
        tmp_dir_path3 = get_random_directory_name(suppress_mkdir=True)
        dirs = []
        for i in range(100):
            d = get_random_directory_name(suppress_mkdir=True)
            self.assertTrue(d not in dirs)
            dirs.append(d)

src/q/i/qiime-1.8.0/qiime/make_2d_plots.py   qiime(Download)
                            get_group_colors,data_colors,iter_color_groups
from qiime.sort import natsort
from cogent.util.misc import get_random_directory_name
import os
import numpy
        data_color_order=groups_and_colors[i][4]
 
        data_file_dir_path = get_random_directory_name(output_dir=data_dir_path)
 
        new_link=os.path.split(data_file_dir_path)
 
    if generate_scree:
        data_file_dir_path = get_random_directory_name(output_dir = data_dir_path)
        new_link = os.path.split(data_file_dir_path)
        data_file_link = os.path.join('.', os.path.split(new_link[-2])[-1], new_link[-1])

src/q/i/qiime-1.8.0/scripts/make_2d_plots.py   qiime(Download)
from qiime.util import get_qiime_project_dir,load_pcoa_files
from qiime.make_3d_plots import get_coord
from cogent.util.misc import get_random_directory_name
 
options_lookup = get_options_lookup()
 
    html_dir_path=dir_path
    data_dir_path = get_random_directory_name(output_dir=dir_path)
    try:
        os.mkdir(data_dir_path)

src/q/i/qiime-1.8.0/scripts/print_qiime_config.py   qiime(Download)
 
try:    
    from cogent.util.misc import app_path, get_random_directory_name, remove_files
    from cogent.app.util import ApplicationNotFoundError, ApplicationError
    from cogent import __version__ as pycogent_lib_version

src/q/i/qiime-1.8.0/scripts/make_rarefaction_plots.py   qiime(Download)
from qiime.util import parse_command_line_parameters, get_qiime_project_dir, \
                       create_dir,get_options_lookup
from cogent.util.misc import get_random_directory_name
from sys import argv, exit, exc_info
from qiime.colors import sample_color_prefs_and_map_data_from_options
                exit(0)
    else:
        output_dir = get_random_directory_name()
 
    #Generate the plots and html text

src/q/i/qiime-1.8.0/scripts/plot_taxa_summary.py   qiime(Download)
from qiime.util import create_dir
from qiime.plot_taxa_summary import make_all_charts
from cogent.util.misc import get_random_directory_name
from qiime.colors import taxonomy_color_prefs_and_map_data_from_options
import re

  1 | 2 | 3  Next