nitish6174 / openchemvault Goto Github PK
View Code? Open in Web Editor NEWFramework to build chemistry logfile data repository and access it through web
Framework to build chemistry logfile data repository and access it through web
When generating the SVG for H 10 C 84 N 4 S 4
, following out of range error was found to occur:
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 0)
Aborted (core dumped)
Even though the makeopenbabel()
function call is being made in a try-except block, the setup script gets aborted instead of ignoring this as exception and continuing with other files.
This issue was noted with the file
Gaussian/Gaussian03/DCV4T+C60.log
which is provided in the cclib-data repository.
This problem was observed when I was trying to setup the database for a large number of files (used the entire cclib-data repository here)
However, when running the setup script only with the above mentioned file, below warning was raised:
*** Open Babel Error in expand_cycle
maximum time exceeded...
==============================
but ran eventually and produced the SVG.
/api/browse/molecules
)/api/browse/files
)/api/browse/<formula>
)/api/file/<doc_id>
)/api/search/<search_params>
)/api/upload
)/api/addfile
)It should be more obvious just from looking at the menu bar text that "Upload" is parse without adding to the DB, and "Add file" is both parse and add file to the DB.
Maybe change "Upload" to "Parse", and say in the body text that this parses without adding.
Also, the "Submit Query" button should have more meaningful text, something specific to each page's main action, like "Parse file" and "Parse and add file".
From sudo docker-compose build
:
Step 5/18 : RUN service mongodb start
---> Running in a7e2b3f72c20
* Starting database mongodb
...fail!
ERROR: Service 'app' failed to build: The command '/bin/sh -c service mongodb start' returned a non-zero code: 1
Is this because I already have mongodb installed and running? I can test on an Ubuntu 12.04 box.
The POST API : /api/file/<doc_id> fails when some of the values in attributes are "nan".
Need to handle the NaN case
Following needs to be fixed in the docker setup:
Prior to the fix, following error was encountered when import openbabel
was called in python code running in docker container:
Traceback (most recent call last):
File "test.py", line 5, in <module>
import openbabel as ob
File "/usr/local/lib/python3.5/dist-packages/openbabel.py", line 32, in <module>
_openbabel = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/openbabel.py", line 28, in swig_import_helper
_mod = imp.load_module('_openbabel', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libopenbabel.so.5: cannot open shared object file: No such file or directory
When seeding the data repository, metadata
should be a part of the parsed data returned from ccread()
function for all the files.
However, when running the database setup in docker instance, the metadata
attribute is missing in all the documents. However, this issue was not observed outside docker instance.
As a result, since the molecule browse menu shows just the metadata
info, the listed items are empty in docker instance while they contain some content when running without docker as shown:
Outside docker
In docker
It needs to be looked as to why metadata
is not being parsed when using docker.
Uploading files from DALTON and then searching in the Package field for 'dalton' returned no hits. It would be nice to have an option for case-insensitive or regex-based search for all the fields
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.