jorge-ramirez-upm / RepTate

RepTate (Rheology of Entangled Polymers: Toolkit for Analysis of Theory & Experiment)
https://reptate.readthedocs.io/
GNU General Public License v3.0
25 stars 7 forks source link

Bug in TTS automatic #144

Closed vbdr closed 4 years ago

vbdr commented 4 years ago

Error Traceback:
   File "/Users/victorbdr/Desktop/original_reptate2/RepTate/gui/QDataSet.py", line 1041, in handle_actionNew_Theory
    self.new_theory(th_name)
  File "/Users/victorbdr/Desktop/original_reptate2/RepTate/gui/QDataSet.py", line 1051, in new_theory
    newth = self.do_new(th_name, calculate)
  File "/Users/victorbdr/Desktop/original_reptate2/RepTate/core/DataSet.py", line 1258, in do_new
    th_id, self, self.parent_application.axarr
  File "/Users/victorbdr/Desktop/original_reptate2/RepTate/theories/TheoryTTS_Automatic.py", line 73, in __new__
    if (CmdBase.mode == CmdMode.GUI)
  File "/Users/victorbdr/Desktop/original_reptate2/RepTate/theories/TheoryTTS_Automatic.py", line 605, in __init__
    self.populate_TempComboBox()
  File "/Users/victorbdr/Desktop/original_reptate2/RepTate/theories/TheoryTTS_Automatic.py", line 675, in populate_TempComboBox
    self.set_param_value("T", float(self.cbTemp.currentText()))
ValueError: could not convert string to float: 
jorge-ramirez-upm commented 4 years ago

Changed code so that the ComboBox for the shift T is left empty if the loaded samples do not share any value of T