{"action":"created","comment":{"url":"https://api.github.com/repos/tardis-sn/tardis/pulls/comments/72080021","id":72080021,"diff_hunk":"@@ -1,15 +1,17 @@\n+import copy\n import os\n+\n import pytest\n import matplotlib.pyplot as plt\n from numpy.testing import assert_allclose\n-from astropy.tests.helper import assert_quantity_allclose\n+from astropy.tests.helper import assert_quantity_allclose, remote_data\n \n-from tardis.atomic import AtomData\n from tardis.simulation.base import run_radial1d\n from tardis.model import Radial1DModel\n from tardis.io.config_reader import Configuration\n \n \n+@remote_data","path":"tardis/tests/integration_tests/test_integration.py","position":16,"original_position":16,"commit_id":"0a23d8ea5407bac988633b62a4af41790ea3923d","original_commit_id":"0a23d8ea5407bac988633b62a4af41790ea3923d","user":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"body":"Yes, problem here as well.\r\n","created_at":"2016-07-25T15:01:33Z","updated_at":"2016-07-25T15:01:33Z","html_url":"https://github.com/tardis-sn/tardis/pull/625#discussion_r72080021","pull_request_url":"https://api.github.com/repos/tardis-sn/tardis/pulls/625","_links":{"self":{"href":"https://api.github.com/repos/tardis-sn/tardis/pulls/comments/72080021"},"html":{"href":"https://github.com/tardis-sn/tardis/pull/625#discussion_r72080021"},"pull_request":{"href":"https://api.github.com/repos/tardis-sn/tardis/pulls/625"}}},"pull_request":{"url":"https://api.github.com/repos/tardis-sn/tardis/pulls/625","id":77816885,"html_url":"https://github.com/tardis-sn/tardis/pull/625","diff_url":"https://github.com/tardis-sn/tardis/pull/625.diff","patch_url":"https://github.com/tardis-sn/tardis/pull/625.patch","issue_url":"https://api.github.com/repos/tardis-sn/tardis/issues/625","number":625,"state":"open","locked":false,"title":"Automatically download and cache atomic data files.","user":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"body":"This PR makes changes with mechanism of making use of atomic dataset. Initially an atomic dataset had to be kept separately and provided through command line, but with the merge of this PR, it will be automatically downloaded, cached and used. The command line argument `--atomic-dataset` has been replaced by a flag `--remote-data`.\r\n\r\n- [X] A session scoped fixture named `_atom_data` is made in top level **conftest.py**, which will download and cache atom data (currently only `kurucz_cd23_chianti_H_He.h5.zip`).\r\n- [X] A fixture named `atom_data` is made alongwith it, to return a copy of this `AtomData` object returned by `_atom_data` fixture, to avoid re prepare.\r\n- [X] Old fixtures in **conftest.py** have been removed and other tests have been modified to use this structure henceforth.\r\n- [X] Suitable changes have been made in **.travis.yml** as well. Manually `wget` and `unzip` commands of atomic dataset file have been removed.\r\n\r\n[Latest Report](http://opensupernova.org/~karandesai96/integration/doku.php?id=reports:c0cf29d)","created_at":"2016-07-18T14:25:55Z","updated_at":"2016-07-25T15:01:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc13d0750e0077ade323ed972d6c4f7d21a8b70f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tardis-sn/tardis/pulls/625/commits","review_comments_url":"https://api.github.com/repos/tardis-sn/tardis/pulls/625/comments","review_comment_url":"https://api.github.com/repos/tardis-sn/tardis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tardis-sn/tardis/issues/625/comments","statuses_url":"https://api.github.com/repos/tardis-sn/tardis/statuses/0a23d8ea5407bac988633b62a4af41790ea3923d","head":{"label":"karandesai-96:atom-data-download-and-cache","ref":"atom-data-download-and-cache","sha":"0a23d8ea5407bac988633b62a4af41790ea3923d","user":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"repo":{"id":51657654,"name":"tardis","full_name":"karandesai-96/tardis","owner":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karandesai-96/tardis","description":"TARDIS - Temperature And Radiative Diffusion In Supernovae","fork":true,"url":"https://api.github.com/repos/karandesai-96/tardis","forks_url":"https://api.github.com/repos/karandesai-96/tardis/forks","keys_url":"https://api.github.com/repos/karandesai-96/tardis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karandesai-96/tardis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karandesai-96/tardis/teams","hooks_url":"https://api.github.com/repos/karandesai-96/tardis/hooks","issue_events_url":"https://api.github.com/repos/karandesai-96/tardis/issues/events{/number}","events_url":"https://api.github.com/repos/karandesai-96/tardis/events","assignees_url":"https://api.github.com/repos/karandesai-96/tardis/assignees{/user}","branches_url":"https://api.github.com/repos/karandesai-96/tardis/branches{/branch}","tags_url":"https://api.github.com/repos/karandesai-96/tardis/tags","blobs_url":"https://api.github.com/repos/karandesai-96/tardis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karandesai-96/tardis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karandesai-96/tardis/git/refs{/sha}","trees_url":"https://api.github.com/repos/karandesai-96/tardis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karandesai-96/tardis/statuses/{sha}","languages_url":"https://api.github.com/repos/karandesai-96/tardis/languages","stargazers_url":"https://api.github.com/repos/karandesai-96/tardis/stargazers","contributors_url":"https://api.github.com/repos/karandesai-96/tardis/contributors","subscribers_url":"https://api.github.com/repos/karandesai-96/tardis/subscribers","subscription_url":"https://api.github.com/repos/karandesai-96/tardis/subscription","commits_url":"https://api.github.com/repos/karandesai-96/tardis/commits{/sha}","git_commits_url":"https://api.github.com/repos/karandesai-96/tardis/git/commits{/sha}","comments_url":"https://api.github.com/repos/karandesai-96/tardis/comments{/number}","issue_comment_url":"https://api.github.com/repos/karandesai-96/tardis/issues/comments{/number}","contents_url":"https://api.github.com/repos/karandesai-96/tardis/contents/{+path}","compare_url":"https://api.github.com/repos/karandesai-96/tardis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karandesai-96/tardis/merges","archive_url":"https://api.github.com/repos/karandesai-96/tardis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karandesai-96/tardis/downloads","issues_url":"https://api.github.com/repos/karandesai-96/tardis/issues{/number}","pulls_url":"https://api.github.com/repos/karandesai-96/tardis/pulls{/number}","milestones_url":"https://api.github.com/repos/karandesai-96/tardis/milestones{/number}","notifications_url":"https://api.github.com/repos/karandesai-96/tardis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karandesai-96/tardis/labels{/name}","releases_url":"https://api.github.com/repos/karandesai-96/tardis/releases{/id}","deployments_url":"https://api.github.com/repos/karandesai-96/tardis/deployments","created_at":"2016-02-13T17:50:23Z","updated_at":"2016-02-13T17:50:24Z","pushed_at":"2016-07-25T13:35:02Z","git_url":"git://github.com/karandesai-96/tardis.git","ssh_url":"git@github.com:karandesai-96/tardis.git","clone_url":"https://github.com/karandesai-96/tardis.git","svn_url":"https://github.com/karandesai-96/tardis","homepage":"","size":21779,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tardis-sn:master","ref":"master","sha":"37e480aad92e5e0346fdd4228ee271a15864ddf4","user":{"login":"tardis-sn","id":6108234,"avatar_url":"https://avatars.githubusercontent.com/u/6108234?v=3","gravatar_id":"","url":"https://api.github.com/users/tardis-sn","html_url":"https://github.com/tardis-sn","followers_url":"https://api.github.com/users/tardis-sn/followers","following_url":"https://api.github.com/users/tardis-sn/following{/other_user}","gists_url":"https://api.github.com/users/tardis-sn/gists{/gist_id}","starred_url":"https://api.github.com/users/tardis-sn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tardis-sn/subscriptions","organizations_url":"https://api.github.com/users/tardis-sn/orgs","repos_url":"https://api.github.com/users/tardis-sn/repos","events_url":"https://api.github.com/users/tardis-sn/events{/privacy}","received_events_url":"https://api.github.com/users/tardis-sn/received_events","type":"Organization","site_admin":false},"repo":{"id":2938270,"name":"tardis","full_name":"tardis-sn/tardis","owner":{"login":"tardis-sn","id":6108234,"avatar_url":"https://avatars.githubusercontent.com/u/6108234?v=3","gravatar_id":"","url":"https://api.github.com/users/tardis-sn","html_url":"https://github.com/tardis-sn","followers_url":"https://api.github.com/users/tardis-sn/followers","following_url":"https://api.github.com/users/tardis-sn/following{/other_user}","gists_url":"https://api.github.com/users/tardis-sn/gists{/gist_id}","starred_url":"https://api.github.com/users/tardis-sn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tardis-sn/subscriptions","organizations_url":"https://api.github.com/users/tardis-sn/orgs","repos_url":"https://api.github.com/users/tardis-sn/repos","events_url":"https://api.github.com/users/tardis-sn/events{/privacy}","received_events_url":"https://api.github.com/users/tardis-sn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tardis-sn/tardis","description":"TARDIS - Temperature And Radiative Diffusion In Supernovae","fork":false,"url":"https://api.github.com/repos/tardis-sn/tardis","forks_url":"https://api.github.com/repos/tardis-sn/tardis/forks","keys_url":"https://api.github.com/repos/tardis-sn/tardis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tardis-sn/tardis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tardis-sn/tardis/teams","hooks_url":"https://api.github.com/repos/tardis-sn/tardis/hooks","issue_events_url":"https://api.github.com/repos/tardis-sn/tardis/issues/events{/number}","events_url":"https://api.github.com/repos/tardis-sn/tardis/events","assignees_url":"https://api.github.com/repos/tardis-sn/tardis/assignees{/user}","branches_url":"https://api.github.com/repos/tardis-sn/tardis/branches{/branch}","tags_url":"https://api.github.com/repos/tardis-sn/tardis/tags","blobs_url":"https://api.github.com/repos/tardis-sn/tardis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tardis-sn/tardis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tardis-sn/tardis/git/refs{/sha}","trees_url":"https://api.github.com/repos/tardis-sn/tardis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tardis-sn/tardis/statuses/{sha}","languages_url":"https://api.github.com/repos/tardis-sn/tardis/languages","stargazers_url":"https://api.github.com/repos/tardis-sn/tardis/stargazers","contributors_url":"https://api.github.com/repos/tardis-sn/tardis/contributors","subscribers_url":"https://api.github.com/repos/tardis-sn/tardis/subscribers","subscription_url":"https://api.github.com/repos/tardis-sn/tardis/subscription","commits_url":"https://api.github.com/repos/tardis-sn/tardis/commits{/sha}","git_commits_url":"https://api.github.com/repos/tardis-sn/tardis/git/commits{/sha}","comments_url":"https://api.github.com/repos/tardis-sn/tardis/comments{/number}","issue_comment_url":"https://api.github.com/repos/tardis-sn/tardis/issues/comments{/number}","contents_url":"https://api.github.com/repos/tardis-sn/tardis/contents/{+path}","compare_url":"https://api.github.com/repos/tardis-sn/tardis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tardis-sn/tardis/merges","archive_url":"https://api.github.com/repos/tardis-sn/tardis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tardis-sn/tardis/downloads","issues_url":"https://api.github.com/repos/tardis-sn/tardis/issues{/number}","pulls_url":"https://api.github.com/repos/tardis-sn/tardis/pulls{/number}","milestones_url":"https://api.github.com/repos/tardis-sn/tardis/milestones{/number}","notifications_url":"https://api.github.com/repos/tardis-sn/tardis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tardis-sn/tardis/labels{/name}","releases_url":"https://api.github.com/repos/tardis-sn/tardis/releases{/id}","deployments_url":"https://api.github.com/repos/tardis-sn/tardis/deployments","created_at":"2011-12-08T06:20:19Z","updated_at":"2016-07-19T08:30:58Z","pushed_at":"2016-07-25T13:35:02Z","git_url":"git://github.com/tardis-sn/tardis.git","ssh_url":"git@github.com:tardis-sn/tardis.git","clone_url":"https://github.com/tardis-sn/tardis.git","svn_url":"https://github.com/tardis-sn/tardis","homepage":"","size":198647,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":110,"mirror_url":null,"open_issues_count":85,"forks":110,"open_issues":85,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tardis-sn/tardis/pulls/625"},"html":{"href":"https://github.com/tardis-sn/tardis/pull/625"},"issue":{"href":"https://api.github.com/repos/tardis-sn/tardis/issues/625"},"comments":{"href":"https://api.github.com/repos/tardis-sn/tardis/issues/625/comments"},"review_comments":{"href":"https://api.github.com/repos/tardis-sn/tardis/pulls/625/comments"},"review_comment":{"href":"https://api.github.com/repos/tardis-sn/tardis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tardis-sn/tardis/pulls/625/commits"},"statuses":{"href":"https://api.github.com/repos/tardis-sn/tardis/statuses/0a23d8ea5407bac988633b62a4af41790ea3923d"}}}}
{"actor":{"display_login":"karandesai-96"}}