title: TypeError: size; expecting a recognized type filling string dict
body: <p>I have been working on Python script for Abaqus and it has to do with dynamic changes in the parameters of the model. The script opens up a <strong>.txt file</strong> and reads different values. The values are separated using tabs and I am using <em>split() function</em> of the Abaqus-Python to read the values properly once I have assigned them to a list.</p>
  
  <p>The last index is [5] and it contains mesh size, again a float value. The structure is properly drawn in ABAQUS, the only error it throws me is while assigning the mesh size:</p>
  
  <pre><code>File "C:/Users/ANANT/PyCharmProjects/test_final/test_copy.py", line 104, in &lt;module&gt;
      beamPart.seedPart(deviationFactor=0.1, minSizeFactor=0.1, size=mesh)
  TypeError: size; found 'module', expecting a recognized type filling string dict
  </code></pre>
  
  <p>So I tried using <strong>repr()</strong> to make it a string, but I was it will throw me that the input should be float/integer value and it did exactly the same. Now I am stuck and I can't work any further. I even tried to truncate the float value to 3-decimal points for the mesh size, but it would still throw the same error.</p>
  
  <p>Any help is much appreciated, thanks a lot :)</p>
  
  <p><a href="https://i.stack.imgur.com/HWy2d.jpg" rel="nofollow noreferrer">input file with truncated mesh size</a></p>