{"action":"created","issue":{"url":"https://api.github.com/repos/cctbx/cctbx_project/issues/215","repository_url":"https://api.github.com/repos/cctbx/cctbx_project","labels_url":"https://api.github.com/repos/cctbx/cctbx_project/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/cctbx/cctbx_project/issues/215/comments","events_url":"https://api.github.com/repos/cctbx/cctbx_project/issues/215/events","html_url":"https://github.com/cctbx/cctbx_project/issues/215","id":334936668,"node_id":"MDU6SXNzdWUzMzQ5MzY2Njg=","number":215,"title":"FormatMultiImage.py broken for VMXi nxs - AssertionError: No lazy support for sweeps","user":{"login":"rjgildea","id":2810624,"node_id":"MDQ6VXNlcjI4MTA2MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2810624?v=4","gravatar_id":"","url":"https://api.github.com/users/rjgildea","html_url":"https://github.com/rjgildea","followers_url":"https://api.github.com/users/rjgildea/followers","following_url":"https://api.github.com/users/rjgildea/following{/other_user}","gists_url":"https://api.github.com/users/rjgildea/gists{/gist_id}","starred_url":"https://api.github.com/users/rjgildea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjgildea/subscriptions","organizations_url":"https://api.github.com/users/rjgildea/orgs","repos_url":"https://api.github.com/users/rjgildea/repos","events_url":"https://api.github.com/users/rjgildea/events{/privacy}","received_events_url":"https://api.github.com/users/rjgildea/received_events","type":"User","site_admin":false},"labels":[{"id":499090270,"node_id":"MDU6TGFiZWw0OTkwOTAyNzA=","url":"https://api.github.com/repos/cctbx/cctbx_project/labels/dxtbx","name":"dxtbx","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-22T16:11:16Z","updated_at":"2018-06-22T18:36:32Z","closed_at":"2018-06-22T18:30:07Z","author_association":"CONTRIBUTOR","body":"Download the VMXi example dataset from here:\r\nhttps://zenodo.org/record/1195871#.Wy0duK2RC00\r\n\r\n```\r\n$ dials.import ~/Downloads/image_1508.nxs \r\n\r\n############################################################################\r\n#                                                                          #\r\n# The DIALS reference paper has now been published:                        #\r\n#                                                                          #\r\n# DIALS: implementation and evaluation of a new integration package (2018) #\r\n# https://doi.org/10.1107/S2059798317017235        Acta Cryst. D74, 85-97. #\r\n#                                                                          #\r\n############################################################################\r\n\r\n\r\nDIALS 1.dev.2656-g9da46fc\r\nThe following parameters have been modified:\r\n\r\ninput {\r\n  datablock = <image files>\r\n}\r\n\r\n--------------------------------------------------------------------------------\r\n  format: <class 'dxtbx.format.FormatNexus.FormatNexus'>\r\n  num images: 600\r\n  num sweeps: 1\r\n  num stills: 0\r\n--------------------------------------------------------------------------------\r\nWriting datablocks to datablock.json\r\n$ dials.show datablock.json \r\n\r\n############################################################################\r\n#                                                                          #\r\n# The DIALS reference paper has now been published:                        #\r\n#                                                                          #\r\n# DIALS: implementation and evaluation of a new integration package (2018) #\r\n# https://doi.org/10.1107/S2059798317017235        Acta Cryst. D74, 85-97. #\r\n#                                                                          #\r\n############################################################################\r\n\r\n\r\nSorry: Unable to handle the following arguments:\r\n  \"datablock.json\" failed during DataBlock processing:\r\n    Traceback (most recent call last):\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/dials/util/options.py\", line 306, in try_read_datablocks\r\n        self.datablocks.append(converter.from_string(argument))\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/dials/util/phil.py\", line 47, in from_string\r\n        check_format=self._check_format))\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/datablock.py\", line 969, in from_json_file\r\n        directory=directory)\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/datablock.py\", line 957, in from_json\r\n        directory=directory)\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/datablock.py\", line 944, in from_dict\r\n        importer = DataBlockDictImporter(obj, check_format, directory)\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/datablock.py\", line 651, in __init__\r\n        self.datablocks = self._load_datablocks(obj, check_format, directory)\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/datablock.py\", line 664, in _load_datablocks\r\n        return [self._load_datablocks(dd, check_format, directory) for dd in obj]\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/datablock.py\", line 762, in _load_datablocks\r\n        format_kwargs = format_kwargs)\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/imageset.py\", line 611, in make_sweep\r\n        single_file_indices = range(*array_range))\r\n      File \"/dls/mx-scratch/rjgildea/software/cctbx/modules/cctbx_project/dxtbx/format/FormatMultiImage.py\", line 230, in get_imageset\r\n        assert not (as_sweep and lazy), 'No lazy support for sweeps'\r\n    AssertionError: No lazy support for sweeps\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cctbx/cctbx_project/issues/comments/399539726","html_url":"https://github.com/cctbx/cctbx_project/issues/215#issuecomment-399539726","issue_url":"https://api.github.com/repos/cctbx/cctbx_project/issues/215","id":399539726,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTUzOTcyNg==","user":{"login":"rjgildea","id":2810624,"node_id":"MDQ6VXNlcjI4MTA2MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2810624?v=4","gravatar_id":"","url":"https://api.github.com/users/rjgildea","html_url":"https://github.com/rjgildea","followers_url":"https://api.github.com/users/rjgildea/followers","following_url":"https://api.github.com/users/rjgildea/following{/other_user}","gists_url":"https://api.github.com/users/rjgildea/gists{/gist_id}","starred_url":"https://api.github.com/users/rjgildea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjgildea/subscriptions","organizations_url":"https://api.github.com/users/rjgildea/orgs","repos_url":"https://api.github.com/users/rjgildea/repos","events_url":"https://api.github.com/users/rjgildea/events{/privacy}","received_events_url":"https://api.github.com/users/rjgildea/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T18:36:32Z","updated_at":"2018-06-22T18:36:32Z","author_association":"CONTRIBUTOR","body":"Thanks for the fix, yes I agree we could do with an example dataset for dials_regression. @graeme-winter do you have any handy small VMXi datasets we could use?"}}
{"actor":{"display_login":"rjgildea"}}