Comments (4)
Hi Daniel,
Those changes were made around the time I reconfigured the geomeTRIC loggers to require an explicit newline character for every logging message, as I had some situations where I wanted finer control over whether newline characters were being printed or not.
I think replacing handlers=stream_handler
with handlers=
in line 12 of logJson.ini might also resolve the issue, though it disables printing to stdout when I run the unit tests.
Is there any way I could see the stdout from running the unit tests without duplicating the logging on your side? If you could just show me how to print out the string stream in the unit test codes, that should resolve it.
from geometric.
For running through the QCFractal pipeline, we would like all stdout to be contained within with stdout
field. If you run the JSON test you can have a print(ret["stdout"])
or similar line. The way we had this previously (I believe) was that the run_json
would temporarily remove the old handler which likely dumped to stdout and replace it with it with a handler that was based of StringIO and replace the old handle when complete.
You could consider an option on the run_json
command to turn back on stdout stream printing while running tests.
from geometric.
Release 0.9.7.2 is now out, could you please check to see if it resolved our two logging issues (as well as the other connectivity-related issue in your PR)?
from geometric.
Perfect on our end! Thanks for the quick turnaround.
from geometric.
Related Issues (20)
- xTB support request HOT 7
- Rebuild coordinate system may fail for `PrimitiveInternalCoordinates` HOT 3
- versioneer does not work with Python 3.12
- How to input Hessian HOT 4
- Breaking certain bonds and getting invidual atoms as fragments with 3 degress of freedom HOT 2
- Using ORCA via ASE with customized input file HOT 4
- Automatically assigned tmin may become too small HOT 52
- Hessian update after rejected step HOT 4
- Ideas for finite_difference_grad.py HOT 4
- permit Hessian computation through Engine? HOT 5
- [Minor BUG]: pip installation HOT 1
- Interactive optimization HOT 3
- ORCA converges in 8 steps, geomeTRIC gets stuck HOT 41
- Issue installing with Python 3.12 HOT 3
- Separate handling of empirical geometry-dependent corrections HOT 1
- Optimization of molecular crystals (and other periodic systems) HOT 1
- optimizeGeometry doesn't converge, although optimization seems okay HOT 2
- [PYSCF] Geometry Optimisation - No message of failing to converge within the maxsteps HOT 1
- Sign Error with `frequency_analysis` function HOT 1
- Error with latest code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geometric.