MDBenchmark
MDBenchmark copied to clipboard
Conflict with collections.py module
Hello,
When I run mdbenchmark generate -n benchmark_G4x --module gromacs/2020.1 --max-nodes 2 I get:
Traceback (most recent call last):
File "/home/adi865j/.local/bin/mdbenchmark", line 5, in <module>
from mdbenchmark import cli
File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/__init__.py", line 20, in <module>
from mdbenchmark.cli import cli
File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/cli/__init__.py", line 20, in <module>
from mdbenchmark.cli.commands import cli
File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/cli/commands.py", line 23, in <module>
from mdbenchmark.cli.validators import (
File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/cli/validators.py", line 3, in <module>
from mdbenchmark import console, utils
File "/home/adi865j/.local/lib/python2.7/site-packages/mdbenchmark/utils.py", line 27, in <module>
import datreant as dtr
File "/home/adi865j/.local/lib/python2.7/site-packages/datreant/__init__.py", line 16, in <module>
from .treants import Treant
File "/home/adi865j/.local/lib/python2.7/site-packages/datreant/treants.py", line 9, in <module>
from .collections import Bundle
File "/home/adi865j/.local/lib/python2.7/site-packages/datreant/collections.py", line 11, in <module>
from mycollections import defaultdict
ImportError: cannot import name defaultdict
It seems that it as a conflict with the native collections.py module. I tried to change the name to mycollections.py, but it didn't work.
Your version of MDBenchmark: MDBenchmark version 2.0.1
Any thoughts?
Thanks in advance -Yasser