{"action":"created","issue":{"url":"https://api.github.com/repos/OHDSI/MedlineXmlToDatabase/issues/2","labels_url":"https://api.github.com/repos/OHDSI/MedlineXmlToDatabase/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/OHDSI/MedlineXmlToDatabase/issues/2/comments","events_url":"https://api.github.com/repos/OHDSI/MedlineXmlToDatabase/issues/2/events","html_url":"https://github.com/OHDSI/MedlineXmlToDatabase/issues/2","id":68910958,"number":2,"title":"update should process XML files in order","user":{"login":"rkboyce","id":104793,"avatar_url":"https://avatars.githubusercontent.com/u/104793?v=3","gravatar_id":"","url":"https://api.github.com/users/rkboyce","html_url":"https://github.com/rkboyce","followers_url":"https://api.github.com/users/rkboyce/followers","following_url":"https://api.github.com/users/rkboyce/following{/other_user}","gists_url":"https://api.github.com/users/rkboyce/gists{/gist_id}","starred_url":"https://api.github.com/users/rkboyce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkboyce/subscriptions","organizations_url":"https://api.github.com/users/rkboyce/orgs","repos_url":"https://api.github.com/users/rkboyce/repos","events_url":"https://api.github.com/users/rkboyce/events{/privacy}","received_events_url":"https://api.github.com/users/rkboyce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T12:16:28Z","updated_at":"2015-04-16T22:40:02Z","closed_at":null,"body":"Hi,\r\n\r\nI used this code to create a local PubMed instance in December 2014 and think that it is great. This is my first go at using the code to update the database. It's great that it seems as simple as just running the code with -parse and the path to the folder containing the update records. However, one thing I notice based on the output to stdout is that the code does not process those XML files in order. This seems to be a potential problem. I think that the recommended approach is to process them in order of release from the NLM which can be inferred on the last four digits of the file name. Might be a simple change but I don't know where in the code to make it.\r\n\r\nthanks,\r\n-R"},"comment":{"url":"https://api.github.com/repos/OHDSI/MedlineXmlToDatabase/issues/comments/93855358","html_url":"https://github.com/OHDSI/MedlineXmlToDatabase/issues/2#issuecomment-93855358","issue_url":"https://api.github.com/repos/OHDSI/MedlineXmlToDatabase/issues/2","id":93855358,"user":{"login":"schuemie","id":6713328,"avatar_url":"https://avatars.githubusercontent.com/u/6713328?v=3","gravatar_id":"","url":"https://api.github.com/users/schuemie","html_url":"https://github.com/schuemie","followers_url":"https://api.github.com/users/schuemie/followers","following_url":"https://api.github.com/users/schuemie/following{/other_user}","gists_url":"https://api.github.com/users/schuemie/gists{/gist_id}","starred_url":"https://api.github.com/users/schuemie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schuemie/subscriptions","organizations_url":"https://api.github.com/users/schuemie/orgs","repos_url":"https://api.github.com/users/schuemie/repos","events_url":"https://api.github.com/users/schuemie/events{/privacy}","received_events_url":"https://api.github.com/users/schuemie/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T22:40:02Z","updated_at":"2015-04-16T22:40:02Z","body":"Hi Rich,\r\n\r\nYes, processing the XML files in order is absolutely essential. It always did on my Windows machine, but it was not guaranteed to do so.\r\n\r\nI added a few lines of code (1ad758a18f9ea1f520792fb93e131691812493fa) that will guarantee the files are processed in order. Can you test it?\r\n\r\nThanks!"}}