Closed chebfarid closed 6 years ago
Please provide the entire script that fails, thanks.
Please find attached
d = newDeal(twoMinOver1NT)
which is based on the shape "twominors".Thanks a lot Farid
Sorry I forgot to include the HTML-template file which is used for the html output of my script.
I cannot reproduce the bug you are observing.
You may need to use a bigger number of tries because the hand type you're looking for is quite rare, e.g., new_deal = d(twoMinOver1NT, 100000)
but other than that I get the hands being generated.
Great, I hadn't thought about that! Thanks again & ciao
First of all, big kodos for a great job! I found your Python version of Deal by chance and implemented it into small didactic project to train on various bidding problems. In order to do so I added some SHAPE definitions to the ones already present in redeal.py and all of them are working perfectly fine except this one:
twominors = Shape("xx(55)") + Shape("xx(65)")
Using it from my python script I receive the following error message:Which seems kind of absurd to me as I use other customized SHAPE definitions which work all perfectly fine, for example:
What could I be missing?
I'm not sure if you are still following the redeal project, in case you do thank you for your attention and regards from Milan/Italy