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

awk script fails when selecting too many species #33

Open
adokter opened this issue Oct 30, 2019 · 1 comment
Open

awk script fails when selecting too many species #33

adokter opened this issue Oct 30, 2019 · 1 comment

Comments

@adokter
Copy link

adokter commented Oct 30, 2019

When selecting many species with the following command (Ubuntu 18.04, Sep 2019 EBD dataset):

ebd_file %>%
  auk_ebd() %>%
  auk_species(species) ->
  my_filter

The following command fails when selecting more than 107 species:

auk_filter(my_filter, "my_file.txt")

throwing an error:

Error in auk_filter.auk_ebd(my_filter, "my_file.txt",  : 
  Error running AWK command.

I presume you hit some maximum accepted command length in awk.

@mstrimas
Copy link
Contributor

interesting, thanks for the heads up, if this is a limitation of AWK, I don't think there's much we can do, but I can at least document it and throw an informative error. will investigate further, thanks!

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