Revision 11806
Added by Aaron Marcuse-Kubitza almost 11 years ago
bin/map | ||
---|---|---|
87 | 87 |
# never redo in commit mode (run `make schemas/reinstall` instead) |
88 | 88 |
|
89 | 89 |
# Ranges |
90 |
start = util.cast(int, opts.get_env_var('start', 1, env_names)) # 1-based |
|
90 |
start = util.cast(int, util.coalesce(util.none_if( |
|
91 |
opts.get_env_var('start', None, env_names), u''), 1)) # 1-based |
|
91 | 92 |
# Make start interally 0-based. |
92 | 93 |
# It's 1-based to the user to match up with the staging table row #s. |
93 | 94 |
start -= 1 |
Also available in: Unified diff
bin/map: support param start="", which indicates the default value. this fixes a bug in inputs/input.Makefile $(restart_row), which outputs "" if an explicit starting row is not found.