JetBrains-Research / pubtrends

Scientific literature explorer. Runs a Pubmed or Semantic Scholar search and allows user to explore high-level structure of result papers
Apache License 2.0
35 stars 2 forks source link

Same paper is shown at the /paper endpoint when clicking on different graph nodes / plot circles #291

Closed ctrltz closed 2 years ago

ctrltz commented 2 years ago

Steps to reproduce:

  1. Use predefined 'brain computer interface' query
  2. Click on any of the circles on the page
  3. Open the page for 'BCI2000: a general-purpose brain-computer interface (BCI) system', which row number 0 in analyzer.df as stated in pysrc.papers.plot.plotter_paper.prepare_paper_data (line 28):

pid = analyzer.df['id'].values[0] # Analyzed paper is number one

Paper id is passed to /paper, but is not processed at the moment.

olegs commented 2 years ago

Wow, thank you for reporting this, already fixed.