Comments (6)
Many thanks for providing this powerful tool to generate ice structures. Our paper utilizing GenIce is now published.
https://pubs.acs.org/doi/10.1021/acs.jctc.1c00357
from genice.
Thank you for your report.
The problem would be caused by pairlist library (also developed by myself).
I replaced the precompiled package in PyPI repository with a package without binaries. (PairList ver. 0.2.11.3)
I hope it will fix the problem.
from genice.
Hello Professor Matsumoto, thank you for your reply.
I'm now trying to use the "genice2-cif" plugin but had some similar issue with the numpy version.
As I install genice2 from the "pip" command, I still need to reinstall the numpy-1.21.0 version manually to make genice2 work properly.
Now after installing the "genice2-cif" from "pip", I had to reinstall the numpy-1.21.0 version again. However, the plugin complains about the numpy version.
% genice2
usage: genice2 [-h] [--version] [--rep REP REP REP] [--shift SHIFT SHIFT SHIFT] [--dens DENS] [--add_noise percent]
[--seed SEED] [--format name] [--water model] [--guest 14=me] [--Guest 13=me] [--Group 13=bu-:0]
[--anion 3=Cl] [--cation 3=Na] [--depol DEPOL] [--asis] [--debug] [--quiet] [--assess_cages]
Type
genice2: error: the following arguments are required: Type
It is fine to run without the plugin option.
% genice2 cif
INFO Extra lattice plugin: cif
INFO main: end.
INFO main: 41 ms
Traceback (most recent call last):
File "/home/raymond/miniconda3/envs/genice-cif/bin/genice2", line 8, in
sys.exit(main())
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/genice2/decorators.py", line 14, in _time_it
return func(*args, **kwargs)
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/genice2/decorators.py", line 34, in _banner
return func(*args, **kwargs)
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/genice2/cli/genice.py", line 214, in main
safe_import(
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/genice2/plugin.py", line 279, in safe_import
module = import_extra(category, name)
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/genice2/plugin.py", line 233, in import_extra
module = ep.load()
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/pkg_resources/init.py", line 2449, in load
self.require(*args, **kwargs)
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/pkg_resources/init.py", line 2472, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages/pkg_resources/init.py", line 777, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (numpy 1.21.0 (/home/raymond/miniconda3/envs/genice-cif/lib/python3.9/site-packages), Requirement.parse('numpy==1.19.3'), {'GenIce2'})
The issue came up.
In addition to this numpy version issue, I'm not sure about the syntax of that genice2-cif plugin. In the manual, it says "genice2 cif[RHO.cif]". So there is no space between "cif" and "[", am I correct? And the RHO.cif is a CIF file in my current folder? Thanks a lot.
from genice.
GenIce2 specifies the version of numpy to 1.19.3 just because it is (perhaps) necessary to run it on Apple M1 (i.e. my machine), but it would be rather harmful to other people. I will update the PIP packages not to specify the version of numpy.
The syntax is correct. However, some shells might react to the brackets after "cif". You might better put quotation marks around the argument like this: genice2 'cif[RHO.cif]'.
from genice.
I removed the version specification for numpy and deployed to PyPI as ver. 2.1.2. I hope it works for you.
from genice.
Thank you. The installation has no problem now.
from genice.
Related Issues (14)
- cannot generate some ices. Problem with one & prism HOT 5
- [Bug] GenIce2 cannot generate some ices HOT 2
- Installation of GenIce- windows HOT 1
- Is it possible to avoid printing extra comment lines at the end of .gro file? HOT 2
- Ice XI HOT 4
- Can genice2 generate top file of gromacs? many thanks! HOT 2
- Is it possible to add the generation of ice XIV in GenIce2? HOT 2
- Missing guest molecules in sH structure HOT 5
- Ice 3 depolarization stuck HOT 2
- Missing guest molecules in filled ices HOT 7
- Problem about install Genice package_pairlist package can not be installed HOT 2
- bug:when generating 6site-ice ,the structual of water molecule is wrong HOT 2
- Coordinates Swapped When Generating Ih Gro file HOT 3
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 genice.