davidpng / FCS_Database

Program to scrape an FCS directory of metadata
GNU General Public License v3.0
3 stars 2 forks source link

Add query random order #66

Closed hermands closed 9 years ago

hermands commented 9 years ago

Added subcommand flags that get passed to database queries and effect Number of records return and Randomization of orders.

init.py parser.add_argument('-rand', '--random-order', dest='random_order', help='Return database results in random order', default=False, action='store_true') parser.add_argument('--limit', '--record-n', dest='record_n', help='Number of records for database to return', default=None, type=int)

Please test out, try for testing singlet_gating, merge master. Thanks