From 6f6d28e8f21c8ff6dc9009c70d372055185ce00f Mon Sep 17 00:00:00 2001 From: Benjamin Jelley Date: Mon, 21 Jul 2025 14:28:27 -0400 Subject: [PATCH] fixing make_tiles main for 007 environment --- pointCollection/scripts/make_tiles.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pointCollection/scripts/make_tiles.py b/pointCollection/scripts/make_tiles.py index 9a0d1d3..477bfdc 100755 --- a/pointCollection/scripts/make_tiles.py +++ b/pointCollection/scripts/make_tiles.py @@ -76,8 +76,8 @@ def make_queue(index_file, queue_file, tile_W=2.e5, file_type='data', verbose=Fa print("make_tiles--adding to queue: \n \t "+this_str) qh.write(this_str+'\n') -def main(argv): - +def main(): + argv = sys.argv # account for a bug in argparse that misinterprets negative agruents for i, arg in enumerate(argv): if (arg[0] == '-') and arg[1].isdigit(): argv[i] = ' ' + arg @@ -126,4 +126,5 @@ def main(argv): verbose=args.verbose) if __name__=='__main__': - main(sys.argv) + main() +# main(sys.argv)