That PR adds a worker for downloading a list of studies from clinicaltrials.gov using apiV2. Also that PR contains migration, that adds the attribute "version" to StudyJsonRecord, by default, it is "1". Run rails db:migrate before testing. To test it run in rails console commands like this one: StudyDownloader.download(['NCT02071602', 'NCT00430612', 'NCT00785954', 'NCT00103350', 'NCT03445728', 'NCT03649711'])
Provide a screenshot when you run in rails console commands like this one:
StudyDownloader.download(['NCT02071602', 'NCT00430612', 'NCT00785954', 'NCT00103350', 'NCT03445728', 'NCT03649711'])
That PR adds a worker for downloading a list of studies from clinicaltrials.gov using apiV2. Also that PR contains migration, that adds the attribute "version" to StudyJsonRecord, by default, it is "1". Run rails db:migrate before testing. To test it run in rails console commands like this one: StudyDownloader.download(['NCT02071602', 'NCT00430612', 'NCT00785954', 'NCT00103350', 'NCT03445728', 'NCT03649711'])