Skip to content

Commit

Permalink
Merge pull request #140 from JannisHoch/update_docs
Browse files Browse the repository at this point in the history
bugfix with dtype of id
  • Loading branch information
JannisHoch committed Jun 4, 2021
2 parents 4e2d3fe + f8c6b2f commit 4f70e54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion copro/scripts/postprocessing/plot_value_over_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os

@click.command()
@click.option('-id', '--polygon-id', multiple=True)
@click.option('-id', '--polygon-id', multiple=True, type=str)
@click.option('-c', '--column', help='column name', default='chance_of_conflict', type=str)
@click.option('-t', '--title', help='title for plot and file_object name', type=str)
@click.option('--verbose/--no-verbose', help='verbose on/off', default=False)
Expand All @@ -18,6 +18,8 @@ def main(input_dir=None, polygon_id=None, column=None, title=None, output_dir=No
"""Quick and dirty function to plot the develoment of a column in the outputted geojson-files over time.
"""

click.echo(polygon_id)

assert(len(polygon_id) > 0), AssertionError('please specify at least one polygon ID to be sampled or select ''all'' for sampling the entire study area')

# absolute path to input_dir
Expand Down

0 comments on commit 4f70e54

Please sign in to comment.