First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2020-03-30 17:47:07 -0500 | received badge | ● Famous Question (source) |
2020-03-27 19:20:23 -0500 | received badge | ● Notable Question (source) |
2020-03-27 10:26:45 -0500 | received badge | ● Popular Question (source) |
2020-03-27 05:52:28 -0500 | commented answer | dyntools 33.12 error This is the only dyntools functions in use for the code. The rest is just math functions but for some reason it thinks there is a key error when it pulls the first file name in on the second line. |
2020-03-26 12:12:45 -0500 | asked a question | dyntools 33.12 error I've created a piece of code that extracts results from all .out files in a directory. I have been using it with no issues in 33.7 but with the new version of 33.12 I am trying to get the code updated but I am seeing the following issue: ine 398, in <module> shorttitle, chanid, chandata = MyChannel.getdata(channels=[], outfile = FaultName) File ".\dyntools.py", line 1483, in getdata KeyError: u'Faultp4_delay.out' I have updated for the new dyntools but I am still getting the issue. My code is below MyChannel = dyntools.CHNF(FaultName,outvrsn='0') shorttitle, chanid, chandata = MyChannel.getdata(channels=[], outfile = FaultName) Is there anything obvious I am doing incorrectly? |