Comments (4)
Heya, I'm a bit confused by your error message here since it does not seem to relate to the code in the aiida-core develop
branch (i.e. what will be 2.x)
Anyhow, firstly this should work with binary files now, but it is of note that it is maybe no longer necessary for aiida-lammps to handle the compression of the trajectory file, since aiida-core can handle that:
basically now in aiida 2.x, initially / by default these files are stored as individual files, e.g. it will just copy the file into the repository. But then, at a later point, the user can call verdi storage maintain
, at which point all files be compressed into large binary files
from aiida-lammps.
You are absolutely right, the issue should not be 2.x it seems to be something that is different in 1.65. I have to check more carefully what is exactly causing the error. ( I have updated the issue to reflect this)
Something I noticed is that if I use the class as it was written one cannot set or parse the object. I managed to solve the parsing issue, by modifying it in my tests so that one instead reads (readlines
) the contents and they are then passed to the parser. Of this way one can parse it properly, but the same storage error keeps happening.
I also agree on your point that with the new archive it might not be necessary to have the current implementation of the trajectory file. I think some of the functionality is neat but perhaps unnecessary. I think it makes more sense to either use the "normal" trajectory or have another dedicated class, since there are several atom and time dependent quantities which can now be parsed, which one perhaps needs to see how to store in a clever way.
from aiida-lammps.
So this seems to have been a weird issue with git fetch upstream
not syncing something properly, as the change in the put_object_from_filelike
call in the trajectory was not present in my fork. Adding this change everything is now solved fro 1.65. However, for the 2.x this does not work as the mode
keyword does not exist.
from aiida-lammps.
Fixed via 36367d0. As this is no longer a problem in aiida-2.x versions.
from aiida-lammps.
Related Issues (20)
- Preparation for aiida 2.x compatibility HOT 12
- Modification of structure to work for Lammps HOT 10
- Change name of Arrays that does not conform to AiiDA naming convention HOT 1
- Add tests for the new base calculation HOT 1
- dump keyword HOT 2
- minimize.energy_tolerance: 0 HOT 2
- Add possibility to run any LAMMPS script HOT 6
- Naming of `CalcJob` plugins HOT 3
- Handling of the restarfile HOT 2
- Adding CODECOV token explicitly to avoid issues with the github actions HOT 5
- Removal of deprecated features HOT 3
- Example for running from file missing HOT 1
- :ok_hand: Expanding the list of required values in the `LammpsPotentialData` HOT 1
- :books: Update README.md HOT 1
- :books: Docs: Documentation overhaul HOT 4
- Remove unnecessary inputs from the calculation HOT 1
- :recycle: Add warnings and errors to the parsing HOT 5
- Return non zero exit code if LAMMPS errors out in the raw calculation HOT 2
- Add an explicit way to get extra retrieved files in the calculations HOT 3
- Make release 1.0.0 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 aiida-lammps.