Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module [examples] #12

Open
nevrome opened this issue Jun 12, 2020 · 6 comments
Open

Module [examples] #12

nevrome opened this issue Jun 12, 2020 · 6 comments
Assignees

Comments

@nevrome
Copy link
Member

nevrome commented Jun 12, 2020

When playing with the tool as it is right now time and time again I found myself wondering which columns are available in which tables.

I suggest to add a module [overview] which returns a list of column names and example column content for a given entity.

./sidora.R overview -t site
site.Id: 1, 2, 6
site.Site_Id: BDB, VLI, UNS
site.Full_Site_Id: Bad Dörrblödel, Vligenpilz, Unsepork
....
@jfy133
Copy link
Member

jfy133 commented Jun 12, 2020 via email

nevrome added a commit that referenced this issue Jun 20, 2020
…ra table/entity - this solves #12 and together with the new help module makes using sidora much more convenient
@nevrome
Copy link
Member Author

nevrome commented Jun 20, 2020

@jfy133 and @TCLamnidis Check out the new modules help and glance. Although not well polished these make using the cli much more convenient imho

@nevrome nevrome closed this as completed Jun 20, 2020
@jfy133 jfy133 reopened this Jun 20, 2020
@jfy133
Copy link
Member

jfy133 commented Jun 20, 2020

Oooh I like it! I would like to re-write the -h/--help a bit, I find this notation very strange:

|[view], [summarise], [list], [tabulate], [glance]|

and I'm concerned that the 'help' module is not the same as --help and -h, I think that could be confusing. What about example or examples instead?

Glance is cool though (but unclear what the usecase is)

@nevrome
Copy link
Member Author

nevrome commented Jun 20, 2020

Hm - ok - fair enough.

  1. examples sounds alright to me.
  2. Do you have an idea for a better notation in the help file? The argparser package is pretty limited in terms of text formatting unfortunately.
  3. The point of glance is to look up column names and column content structure. This module is for everybody but you, because you are the only user who has all column names of Pandora memorized down to the last underscore 😛

@nevrome nevrome changed the title Module [overview] Module [example] Jun 21, 2020
@nevrome nevrome changed the title Module [example] Module [examples] Jun 21, 2020
nevrome added a commit that referenced this issue Jun 21, 2020
@jfy133
Copy link
Member

jfy133 commented Jun 24, 2020

Further comment, for glance

We could have a -v / --verbose flag (or -d and --detailed) that lists the tooltips, as described here: https://mpi-dokuwiki1.server.shh.mpg.de/doku.php?id=general:pandora:field_definitions (MPI VPN required)

@nevrome
Copy link
Member Author

nevrome commented Jun 24, 2020

See #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants