Giter Club home page Giter Club logo

Comments (4)

kohl-carmen avatar kohl-carmen commented on May 16, 2024 1

You're right, I hadn't updated hnn. It works fine now!

from hnn.

blakecaldwell avatar blakecaldwell commented on May 16, 2024

Hi @kohl-carmen I'm having trouble reproducing this. Would you mind sending me from_here_10_opt_adjusted.param if that's what you loaded before this crash? Thanks!

from hnn.

kohl-carmen avatar kohl-carmen commented on May 16, 2024

It seems to happen regardless of what was loaded before. I just tried it again right after starting HNN (just opened it and attempted to load hnn/param/AlphaAndMoreBeta):

(hnn) C:\Users\ckohl\hnn>python hnn.py
Traceback (most recent call last):
File "C:\Users\ckohl\hnn\hnn_qt5.py", line 3248, in selParamFileDialog
self.baseparamwin.updateDispParam()
File "C:\Users\ckohl\hnn\hnn_qt5.py", line 2971, in updateDispParam
for dlg in self.lsubwin: dlg.setfromdin(din) # update to values from file
File "C:\Users\ckohl\hnn\hnn_qt5.py", line 2492, in setfromdin
self.updateOptDialog()
File "C:\Users\ckohl\hnn\hnn_qt5.py", line 2429, in updateOptDialog
self.rebuildOptStepInfo()
File "C:\Users\ckohl\hnn\hnn_qt5.py", line 2170, in rebuildOptStepInfo
self.ltabkeys.pop(tab_index)
IndexError: pop index out of range

from hnn.

blakecaldwell avatar blakecaldwell commented on May 16, 2024

Okay, I wonder if this is from an older version (a couple weeks ago). Would you mind sending me the output of the following:

git show -s --oneline

Also, I just pushed an update that will gracefully handle all exceptions, including those when non-data or non-param files are loaded. To update to the new version:

git checkout master
git pull origin master

from hnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.