Open dmitriz opened 4 years ago
Thanks. Valuable.
I am NOT the author of getpapers
. Rick Smith-Unna is and we should try to get his views. Here are mine. I think they should be refiled as issues.
1) default directory.
2) infinite download. Yes, this is a major problem. There needs to be an inbuilt limit
3) cached download. The JSON is (I think) ordered by scientific priority. I don't know if the download order follows this.
4) overwriting and merging.
This is an important issue. It's nice that you can download on top of an existing dir/CProject. But there may be implicit context that is lost. It probably useful to have a switch --overwrite
I am having to deal with some of this in ami download
https://github.com/petermr/ami3
Thanks. Valuable.
Thank you for your appreciation. :)
I am NOT the author of getpapers . Rick Smith-Unna is and we should try to get his views.
Judged by the lack of responses to previous issues and last code back in 2016, this could be off his radar for quite a while.
default directory. pros: it's simple cons: some queries are a page long. We either truncate or hash.
What about using the search string?
infinite download. Yes, this is a major problem. There needs to be an inbuilt limit
100 results seem like a common default I've seen with many APIs. Also, the order is needed, maybe the 100 most recent ones?
cached download. The JSON is (I think) ordered by scientific priority. I don't know if the download order follows this.
By scientific priority, you mean the first mention? I didn't know the APIs could do such things. :)
overwriting and merging. This is an important issue. It's nice that you can download on top of an existing dir/CProject. But there may be implicit context that is lost. It probably useful to have a switch --overwrite
Agree. The user-friendliest way is probably to print an overwrite warning with options to select: yes, no, or yes to all to skip the rest of warnings.
I am having to deal with some of this in ami download https://github.com/petermr/ami3
Do you still need getpapers
then?
Yes, we still need it. There are tutorials out there.
Opening this issue to document feedback and recommendation from the users' perspectives.
It is
20182020 and we still talk about papers. 😄npm
.Minimal usage
Next simplest choice:
Smaller searches work nicely, apart from the warnings that are a bit confusing.
Now refining:
And again: