Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to print all measures with bconv #4

Open
MaxOstrowski opened this issue Jun 12, 2020 · 1 comment
Open

How to print all measures with bconv #4

MaxOstrowski opened this issue Jun 12, 2020 · 1 comment

Comments

@MaxOstrowski
Copy link
Member

There seems to be some functionality to include everything that the resultparser produces in the ods sheet.
Regarding to source code it should be the behaviour of empty --measures.
./bconv mini.xml --measures="" > mini.ods
Unfortunately, (file attached)
mini.zip
this gives:

file "src/bconv.py", line 45, in <module>
    res.genOffice(out, opts.projects, opts.measures)
  File "/home/ostrowsk/minizinc/benchmark-tool/src/benchmarktool/result/result.py", line 60, in genOffice
    sheet.finish()
  File "/home/ostrowsk/minizinc/benchmark-tool/src/benchmarktool/result/soffice.py", line 21, in finish
    self.instSheet.finish()
  File "/home/ostrowsk/minizinc/benchmark-tool/src/benchmarktool/result/soffice.py", line 323, in finish
    for column in systemColumn.iter(self.measures):
  File "/home/ostrowsk/minizinc/benchmark-tool/src/benchmarktool/result/soffice.py", line 571, in iter
    for column in sorted(self.columns, cmp=lambda x: x.name):
TypeError: <lambda>() takes exactly 1 argument (2 given)

@rkaminsk
Have I done something wrong ?

@rkaminsk
Copy link
Member

I do not know what is going wrong nor do I remember how it was supposed to work. You are on your own.

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

No branches or pull requests

2 participants