Hello
I want to run my openseespy inputs file in designsafe-ci's jupyter.
The following picture shows my folders and main file:
https://i.postimg.cc/W3KTHXBc/desinfsafe.png
https://postimg.cc/5YwhHq9s
I got an error. But, there is a "asl" folder. Why Jupiter cannot read the TXT file in asl folder???
FileNotFoundError Traceback (most recent call last)
<ipython-input-3-c3814e92362f> in <module>
649 import ReadRecord
650 ## Permform the conversion from SMD record to OpenSees record
--> 651 dt, nPts = ReadRecord.ReadRecord("asl/"+record+'.at2', "far/"+record+'.dat')
652 ##print(dt, nPts)
653 TmaxAnalysis= dt * nPts
~/MyData/20str/ReadRecord.py in ReadRecord(inFilename, outFilename)
37
38 # Open the input file and catch the error if it can't be read
---> 39 inFileID = open(inFilename, 'r')
40
41 # Open output file for writing
FileNotFoundError: [Errno 2] No such file or directory: 'asl/1.at2'
Run openseespy in jupyter designsafe-ci
Moderators: silvia, selimgunay, Moderators
Re: Run openseespy in jupyter designsafe-ci
Hello, every one,
Problem solved. "a" and "t" should be a capital letter (case-sensitive): 'asl/1.AT2'
FileNotFoundError: [Errno 2] No such file or directory: 'asl/1.at2'
Problem solved. "a" and "t" should be a capital letter (case-sensitive): 'asl/1.AT2'
FileNotFoundError: [Errno 2] No such file or directory: 'asl/1.at2'