Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

best practice report generation #246

Open
tomasdalmo opened this issue Apr 18, 2013 · 0 comments
Open

best practice report generation #246

tomasdalmo opened this issue Apr 18, 2013 · 0 comments

Comments

@tomasdalmo
Copy link

Can create bpreport for one project but not for two others. Get following message for those.

pm project bpreport B.Johansson_12_02

File "/bubo/home/h27/funk_001/.virtualenvs/master/bin/pm", line 5, in
pkg_resources.run_script('scilifelab==0.3.0dev', 'pm')
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1207, in run_script
execfile(script_filename, namespace, namespace)
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/scilifelab-0.3.0dev-py2.7.egg/EGG-INFO/scripts/pm", line 46, in
app.run()
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/cement-2.0.2-py2.7.egg/cement/core/foundation.py", line 451, in run
self.controller._dispatch()
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/scilifelab-0.3.0dev-py2.7.egg/scilifelab/pm/core/controller.py", line 52, in _dispatch
getattr(self, func['label'])()
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/scilifelab-0.3.0dev-py2.7.egg/scilifelab/pm/core/deliver.py", line 269, in bpreport
out_data = best_practice_note(**kw)
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/scilifelab-0.3.0dev-py2.7.egg/scilifelab/report/best_practice.py", line 247, in best_practice_note
database_df = _get_database_table(flist, post_process=kw.get("post_process", None))
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/scilifelab-0.3.0dev-py2.7.egg/scilifelab/report/best_practice.py", line 215, in _get_database_table
ret_df["Version"] = [os.path.basename(x) for x in ret_df["Version"]]
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/pandas/core/frame.py", line 1971, in getitem
return self._get_item_cache(key)
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/pandas/core/generic.py", line 534, in _get_item_cache
values = self._data.get(item)
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/pandas/core/internals.py", line 884, in get
_, block = self._find_block(item)
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/pandas/core/internals.py", line 1016, in _find_block
self._check_have(item)
File "/bubo/home/h27/funk_001/.virtualenvs/master/lib/python2.7/site-packages/pandas/core/internals.py", line 1023, in _check_have
raise KeyError('no item named %s' % com.pprint_thing(item))
KeyError: u'no item named Version'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant