Skip to content

Commit e42359d

Browse files
author
Gerit Wagner
committed
update SearchFile() to more robust version
1 parent f4dfac8 commit e42359d

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

jats/paper.jats

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,7 @@ FT50_journals = load_query(&quot;journals_FT50&quot;)</code>
277277
<code language="python">from search_query import SearchFile
278278

279279
search_file = SearchFile(
280-
search_string=pubmed_query.to_string(),
281-
platform=&quot;pubmed&quot;,
282-
version=&quot;1&quot;,
280+
query=pubmed_query,
283281
authors=[{&quot;name&quot;: &quot;Gerit Wagner&quot;}],
284282
record_info={},
285283
date={}

paper.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,7 @@ When saving a query, the JSON format is based on the standard proposed by @Hadda
176176
from search_query import SearchFile
177177

178178
search_file = SearchFile(
179-
search_string=pubmed_query.to_string(),
180-
platform="pubmed",
181-
version="1",
179+
query=pubmed_query,
182180
authors=[{"name": "Gerit Wagner"}],
183181
record_info={},
184182
date={}

paper.pdf

-163 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)