ORCA excited state optimization logfiles sometimes raise AttributeError: 'numpy.ndarray' object has no attribute 'append'
See original GitHub issueI just found a strange error with an excited state optimization when calling ccobj.parse()
:
[ORCA last/porphine.out INFO] Creating attribute metadata: {}
[ORCA last/porphine.out INFO] Creating attribute charge: 0
[ORCA last/porphine.out INFO] Creating attribute geotargets[]
[ORCA last/porphine.out INFO] Creating attribute natom: 38
[ORCA last/porphine.out INFO] Creating attribute atomnos[]
[ORCA last/porphine.out INFO] Creating attribute atomcoords[]
[ORCA last/porphine.out INFO] Creating attribute atommasses[]
[ORCA last/porphine.out INFO] Creating attribute gbasis[]
[ORCA last/porphine.out INFO] Creating attribute nbasis: 498
[ORCA last/porphine.out INFO] Creating attribute mult: 1
[ORCA last/porphine.out INFO] Creating attribute scfvalues[]
[ORCA last/porphine.out INFO] Creating attribute scfenergies[]
[ORCA last/porphine.out INFO] Creating attribute scftargets[]
[ORCA last/porphine.out INFO] Creating attribute moenergies[]
[ORCA last/porphine.out INFO] Creating attribute homos[]
[ORCA last/porphine.out INFO] Creating attribute aonames[]
[ORCA last/porphine.out INFO] Creating attribute atombasis[]
[ORCA last/porphine.out INFO] Creating attribute mocoeffs[]
[ORCA last/porphine.out INFO] Creating attribute atomcharges: {}
[ORCA last/porphine.out INFO] Creating attribute etsecs[]
[ORCA last/porphine.out INFO] Creating attribute etenergies[]
[ORCA last/porphine.out INFO] Creating attribute etsyms[]
[ORCA last/porphine.out INFO] Creating attribute transprop: {}
[ORCA last/porphine.out INFO] Creating attribute etoscs[]
[ORCA last/porphine.out INFO] Creating attribute etrotats[]
[ORCA last/porphine.out INFO] Creating attribute grads[]
[ORCA last/porphine.out INFO] Creating attribute geovalues[]
Traceback (most recent call last):
File "/usr/local/bin/noivibs", line 11, in <module>
load_entry_point('pyrrole', 'console_scripts', 'noivibs')()
File "/mnt/Files/Dropbox/Dropbox/pyrrole/pyrrole/scripts/noivibs.py", line 30, in cli
mol = read_cclib(path)
File "/mnt/Files/Dropbox/Dropbox/pyrrole/pyrrole/atoms.py", line 1765, in read_cclib
ccdata = ccobj.parse()
File "/mnt/Files/Dropbox/Dropbox/cclib/cclib/parser/logfileparser.py", line 329, in parse
self.extract(inputfile, line)
File "/mnt/Files/Dropbox/Dropbox/cclib/cclib/parser/orcaparser.py", line 776, in extract
self.etenergies.append(float(broken[-2]))
AttributeError: 'numpy.ndarray' object has no attribute 'append'
The logfile is attached (logfile.zip). Any clues?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Fix: 'numpy.ndarray' object has no attribute 'append'
This error occurs when you attempt to append one or more values to the end of a NumPy array by using the append()...
Read more >'numpy.ndarray' object has no attribute 'append' - Stack Overflow
Appending to a numpy array is very inefficient as it copies the array (plus the new element) each time you append to it....
Read more >'numpy.ndarray' object has no attribute 'append' Solution
ndarray' object has no attribute 'append' error is caused by using the append() method to add an item to a NumPy array.
Read more >Clinton Brownley's Decision Analytics | Critical Thinking and ...
I hope that by following along with this tutorial and experimenting with the techniques you now feel more comfortable scraping, geocoding, and mapping...
Read more >Python for Bioinformatics - The Swiss Bay
it in my own time, Python was used in the Amoeba project with increasing ... AttributeError: 'tuple' object has no attribute 'append'. >>>...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In that case #741 should help.
Confirmed on master.