Closed nevrome closed 4 years ago
But of course: Everything at an early prototyping stage.
./sidora.R summary -t site -i "..."
|Site_Id |Name |Country |Tags |Projects |
|:-------|:--------------|:-------|:-------------|:-----------|
|...|...|...|...|...|
. . ... ........... . ...
. ................. . .. ..... ...... ..... .......................
. .......... ... ... .......................... .
............. . ..X............................
............ .. .. ..... .................
....... ..... .. ...................
.. . ............ .... ..........
. ............. . .. .
..... .......... .. .
.......... ...... . ..
........ ...... . .
....... ..... . ........
..... ... ........
..
.. .
.. ..............
................. ..........................................
................................................................................
I love it.
Amazing. Love it!!! Just a question about --as_tsv: Shouldn't that be a sub-option for the "list" subcommand (or module?) Or are you currently not working with subcommand-specific options? Perhaps that's making things too complicated, but it would be somewhat more logical to have command-specific options, in my view. Just thinking loud.
argparser
does not support real subcommands. I did not use r-argparse
, because it has some extra Python dependencies. So sub-options are not a thing here. I think that's not really a problem: Unused options are just ignored with the current setup.
I think I will merge this now and I have two additional things on my mind:
inst
directory. summary_sites
thing last friday.Out of curiosity, how does the map react if you place a point in an area that does not get drawn by default (e.g. New Zealand)? Is that point added, or do you currently simply replace .
with X
?
Ah - a classic. I'm confident from the implementation that all and every sample point will be plotted no matter if it is on land or not. The code just splits the word into a grid and checks if there is a (or multiple) sample in a particular cell. If so, then we get an X.
Here's a suggestion for a better interface in accordance to #4.
I think it's neat. Fight me! :smile: