tilde-lab / pycrystal Goto Github PK
View Code? Open in Web Editor NEWUtilities for ab initio modeling suite CRYSTAL, developed in Turin University
License: Other
Utilities for ab initio modeling suite CRYSTAL, developed in Turin University
License: Other
If the geometry optimization is completed in one step, the parser receives an energy value that does not include dispersion energy (d3).
Here is an example of *.out file.
ws2nt84_66.log
We have a major design issue here, the three different code parts deal with more or less the same:
pycrystal.CRYSTOUT.parse_bs_input
- cumbersome code of mine, but deals with GHOST, d12 / out formatpycrystal.parse_bs
- old legacy code by @mlosev, but useful for dealing with GAUSSIAN / EMSL formataiida_crystal_dft.io.parsers.gto_basis_parser
- concise code by @ansobolev, but too general# dealing with Fermi energies
state_dict['e_fermi'] = float(self.patterns['e_fermi'].search(self.data).groups()[0])
state_dict['e_fermi_units'] = 'Ha'
* Hartree
?
polarizability (alpha(re, im)), dielectric (epsilon(re, im)) and first-order electric susceptibility (chi(1)) tensors (independent components)
first hyperpolarizability (beta) and second electric susceptibility (chi(2)) tensors (independent components)
second hyperpolarizability (gamma) and third electric susceptibility (chi(3)) tensors
NumPy is the fundamental package for array computing with Python.
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt,/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 65fd1d33fb4108677a14960e522f7ed781cbf4c9
Found in base branch: master
An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless."
Mend Note: After conducting further research, Mend has determined that versions 1.12.0 through 1.21.6 of numpy are vulnerable to CVE-2021-34141
Publish Date: 2021-12-17
URL: CVE-2021-34141
Base Score Metrics:
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34141
Release Date: 2021-12-17
Fix Resolution: 1.22.0
Step up your Open Source Security Game with Mend here
# NB. Hg and Bi have unexpected comments
# NB. Tl has wrong INPUT
# NB. sometimes the comments get included afterwards
NumPy is the fundamental package for array computing with Python.
path: /tmp/git/pycrystal/requirements.txt,/tmp/git/pycrystal
Library home page: https://files.pythonhosted.org/packages/ad/15/690c13ae714e156491392cdbdbf41b485d23c285aa698239a67f7cfc9e0a/numpy-1.16.1-cp35-cp35m-manylinux1_x86_64.whl
Dependency Hierarchy:
An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, as demonstrated by a numpy.load call.
Publish Date: 2019-01-16
URL: CVE-2019-6446
Base Score Metrics:
Step up your Open Source Security Game with WhiteSource here
/root/.aiida/repository-default/repository/node/39/69/1198-d9f2-48df-815a-3a85a640a599/path/_scheduler-stderr.txt unexpected CRYSTOUT parser error in /root/.aiida/repository-default/repository/node/39/69/1198-d9f2-48df-815a-3a85a640a599/path/_scheduler-stderr.txt:
Traceback (most recent call last):
File "/root/tilde/tilde/core/api.py", line 280, in _parse
for calc in self.Parsers[parser_name].iparse(parsable):
File "/root/tilde/tilde/parsers/__init__.py", line 117, in iparse
return [cls(filename)]
File "/root/tilde/tilde/parsers/CRYSTAL/CRYSTAL.py", line 17, in __init__
result = _CRYSTOUT(filename)
File "/usr/local/lib/python3.5/dist-packages/pycrystal/output.py", line 283, in __init__
self.info['elastic']['elastic_moduli'] = self.get_elastic('elastic_moduli')
File "/usr/local/lib/python3.5/dist-packages/pycrystal/output.py", line 785, in get_elastic
constants[-1].append(float(ec))
ValueError: could not convert string to float: '178.7547-193.8748'
Should we throw them away or keep?
The parser has a limitation on the length of the translation vectors of 50 angstroms, making serious difficulties in case one-dimensional objects when the vector a length can exceed this value. Can you fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.