Closed dkazanc closed 6 years ago
can you post the stack trace?
there is not much, but it looks like it TomoP2D.Object
doesn't like objlist
Traceback (most recent call last):
File "<ipython-input-3-beab29b04156>", line 30, in <module>
phantom_2D = TomoP2D.Object(N_size, objlist)
File "src/TomoP2D.pyx", line 272, in tomophantom.TomoP2D.Object
TypeError: str() takes at most 1 argument (2 given)
Script
DemoModel2.py
fails with error:TypeError: str() takes at most 1 argument (2 given)
I think it has to do with extracting parameters from *dat file usinglibraryToDict
function. Check 'Obj' in 'objlist', there should be names of the objects?