Fabric无法找到隐藏功能(以“_”开头)

时间:2015-03-06 09:00:54

标签: python fabric

我想运行命令

fab --fabfile=get_nb_samples_in_each_island.py _get_sample_names:'external_scripts/SICER/in/regular_no_blacklist_head.bed'

这输出以下内容:

Warning: Command(s) not found:
    _get_sample_names

Available commands:

    Counter                           Dict subclass for counting hashable items.  Sometimes called a bag
    INFO                              Log a message with severity 'INFO' on the root logger.
    defaultdict                       defaultdict(default_factory[, ...]) --> dict with default factory
    get_island_to_nb_samples_mapping  Finds out which samples are represented within each island. By sample we mean the experimental condition
    itemgetter                        itemgetter(item, ...) --> itemgetter object
    make_intervaltrees                Creates an intervaltree from an input file.
    natural_sort                      Sorts in the natural way for humans, not X1, X11, X12, but X1, X2, X3 ...

由此可见,结构无法使用隐藏功能,即以下划线开头的功能。有没有办法解决这个问题?

0 个答案:

没有答案
相关问题